]> granicus.if.org Git - clang/commit
Warn on dropping the return value from a warn_unused_result function, even in
authorMatt Beaumont-Gay <matthewbg@google.com>
Tue, 26 Feb 2013 19:34:08 +0000 (19:34 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Tue, 26 Feb 2013 19:34:08 +0000 (19:34 +0000)
commit9016bb771265a10f188c76342254badecc695253
tree766e70770d940a238dc8e6074fda741272a5eb94
parentd3b2f0ac1cedad284d860acd652f28a05bcbcbed
Warn on dropping the return value from a warn_unused_result function, even in
macros.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176114 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/Sema/unused-expr.c