diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-03-15 02:19:37 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-03-15 02:19:37 +0000 |
commit | 1c4af5edf4e92f1436b6668ab665dea42d512834 (patch) | |
tree | e26920756f51b1d22b4698bd863d981bb60f6b6e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b0464089fd7c36c8c1179dbdbd0ec000a0b3d6a8 (diff) | |
download | llvm-1c4af5edf4e92f1436b6668ab665dea42d512834.zip llvm-1c4af5edf4e92f1436b6668ab665dea42d512834.tar.gz llvm-1c4af5edf4e92f1436b6668ab665dea42d512834.tar.bz2 |
[clang-tidy] Fix false positives in the misc-static-assert check http://llvm.org/PR22880
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.
http://reviews.llvm.org/D8328
Patch by Szabolcs Sipos!
llvm-svn: 232306
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions