]> granicus.if.org Git - clang/commit
Do not warn about empty bodies for 'if' statements if the body is expanded from a...
authorTed Kremenek <kremenek@apple.com>
Thu, 16 Sep 2010 00:37:05 +0000 (00:37 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 16 Sep 2010 00:37:05 +0000 (00:37 +0000)
commitb3198178daf9d33466fc18e009e2c6692fdf29c0
tree729113bc2c1687c16afd037fd67561229a03d5f1
parent474e2fe4957e6e72cee36ed189eaf21878ad0e91
Do not warn about empty bodies for 'if' statements if the body is expanded from a macro.

Fixes <rdar://problem/8436021>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114049 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/Sema/if-empty-body.c