aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2015-03-15 01:08:23 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2015-03-15 01:08:23 +0000
commitad80af8f191503fe33deecf8efc57ff2878aa3d1 (patch)
tree6c2f4a03c9f707b602fb36fd801d22c1e817dcb7 /clang/lib/CodeGen/CodeGenModule.cpp
parent86ecb1bdaf2e7570ac33cc9e00d76375cf00d5d2 (diff)
downloadllvm-ad80af8f191503fe33deecf8efc57ff2878aa3d1.zip
llvm-ad80af8f191503fe33deecf8efc57ff2878aa3d1.tar.gz
llvm-ad80af8f191503fe33deecf8efc57ff2878aa3d1.tar.bz2
-Wempty-body: fix false negative triggered by macros
When if statement condition ended in a macro: if (ptr == NULL); the check used to consider the definition location of NULL, instead of the current line. Patch by Manasij Mukherjee. llvm-svn: 232295
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions