aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorZinovy Nis <zinovy.y.nis@intel.com>2018-04-01 11:51:57 +0000
committerZinovy Nis <zinovy.y.nis@intel.com>2018-04-01 11:51:57 +0000
commitc16815ca8abc496778d34e7acb6aa25bb0f29176 (patch)
tree7df48ddfecd6decfecb6edb493c0765d56698ea9 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parent9b8cd5fe5507fdd1992e6a77a91cda0f7f3af80b (diff)
downloadllvm-c16815ca8abc496778d34e7acb6aa25bb0f29176.zip
llvm-c16815ca8abc496778d34e7acb6aa25bb0f29176.tar.gz
llvm-c16815ca8abc496778d34e7acb6aa25bb0f29176.tar.bz2
[clang-tidy] Define __clang_analyzer__ macro for clang-tidy for compatibility with clang static analyzer
This macro is widely used in many well-known projects, ex. Chromium. But it's not set for clang-tidy, so for ex. DCHECK in Chromium is not considered as [[no-return]], and a lot of false-positive warnings about nullptr dereferenced are emitted. This patch fixes the issue by explicitly added macro definition. Differential Revision: https://reviews.llvm.org/D44906 llvm-svn: 328932
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions