The misc-static-assert check will not warn on assert(false), assert(False), assert(FALSE); where false / False / FALSE are macros expanding to the false or 0 literals.
Also added corresponding test cases.
Differential D8328
Fix for Bug 22880 Authored by eszasip on Mar 13 2015, 1:02 PM. |
Use StringRef::compare_lower here.