commit | c6caafe6cfd3f16c854a701dc4d7172f4a071e14 | [log] [tgz] |
---|---|---|
author | Alexander Kornienko <alexfh@google.com> | Sun Mar 15 02:19:37 2015 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 04 13:18:21 2020 -0700 |
tree | 03856d7f3f67b704e1eaaa4bf1be2061ea50ad84 | |
parent | 596b39fc7baf7d07ef46f67b36aae353a5c1ec0c [diff] |
[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 GitOrigin-RevId: 1c4af5edf4e92f1436b6668ab665dea42d512834