Suppress -Wunused-value within macros from system headers.
authorMatt Beaumont-Gay <matthewbg@google.com>
Fri, 6 Jan 2012 22:43:58 +0000 (22:43 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Fri, 6 Jan 2012 22:43:58 +0000 (22:43 +0000)
commit7a57adab8359c623618d375d8dbb8c473f101b1b
tree40a785bb31b5ed12ec3d4f5a93e24f71ad49f758
parent7ff610b62d64a3308605dbeda933b541b62a3ddc
Suppress -Wunused-value within macros from system headers.

Along the way, move a helper function from SemaChecking.cpp to a more
accessible home in SourceManager.

llvm-svn: 147692
clang/include/clang/Basic/SourceManager.h
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaStmt.cpp
clang/test/Sema/Inputs/unused-expr-system-header.h [new file with mode: 0644]
clang/test/Sema/unused-expr-system-header.c [new file with mode: 0644]