]> granicus.if.org Git - clang/commit
Suppress -Wshadow / -Wold-style-cast expanded from system header macros
authorAlp Toker <alp@nuanti.com>
Thu, 12 Dec 2013 12:47:48 +0000 (12:47 +0000)
committerAlp Toker <alp@nuanti.com>
Thu, 12 Dec 2013 12:47:48 +0000 (12:47 +0000)
commit4e5c2c07432763af13e723994c4d93d6cb1d6d65
tree980df55318253872cc5e48caa7ec298aa6687ef6
parent7b4615075c174d9be07039f7a35189b137c6e0eb
Suppress -Wshadow / -Wold-style-cast expanded from system header macros

Thanks to Jonathan Sauer for providing initial test cases.

Fixes PR16093 and PR18147.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
test/SemaCXX/warn-sysheader-macro.cpp [new file with mode: 0644]