-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Open
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzer
Description
| Bugzilla Link | 43544 |
| Version | unspecified |
| OS | All |
| CC | @stbergmann |
Extended Description
It would be nice if the above warning would whitelist the common idiom
assert(!"Unknown LibreOfficeKitCallbackType type.");so I don't have to rewrite them all to
assert(false && "Unknown LibreOfficeKitCallbackType type.");which seems to work
:-)
(I'm testing this with clang trunk from about 4 weeks ago i.e. clang towards 10)
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzer