]> granicus.if.org Git - clang/commit
make the diagnostic in the 'unused result' warning more precise
authorChris Lattner <sabre@nondot.org>
Tue, 13 Oct 2009 04:53:48 +0000 (04:53 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Oct 2009 04:53:48 +0000 (04:53 +0000)
commitbc8d42c6f1565c0b2f93ad524edebfd7a4e6cac6
tree125ce2d07d181ed1f49f80244a64028b34427a6a
parent4053983963cb94a6129da47bca8cce637c8b7bff
make the diagnostic in the 'unused result' warning more precise
about the reason, rdar://7186119.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83940 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Expr.cpp
lib/Sema/SemaStmt.cpp
test/Sema/attr-warn_unused_result.c
test/Sema/unused-expr.c