]> granicus.if.org Git - clang/commit
Emit a warning when the body of an if block is a NullStmt.
authorAnders Carlsson <andersca@mac.com>
Wed, 10 Oct 2007 20:50:11 +0000 (20:50 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 10 Oct 2007 20:50:11 +0000 (20:50 +0000)
commit2d85f8ba62fd6fdcf0ae303d77112b413d412cae
tree0901bcfb9d9842d53697715bd3f16ce42b8a2315
parent6f688e131e125ffce23a63a9d286578a454cc4e0
Emit a warning when the body of an if block is a NullStmt.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42840 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/SemaStmt.cpp
clang.xcodeproj/project.pbxproj
include/clang/Basic/DiagnosticKinds.def
test/Parser/pointer_promotion.c
test/Sema/default.c
test/Sema/if-empty-body.c [new file with mode: 0644]