]> granicus.if.org Git - clang/commit
Don't warn for unused macro when undef'ing it, if it comes from an included file...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 11 Jul 2011 20:39:47 +0000 (20:39 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 11 Jul 2011 20:39:47 +0000 (20:39 +0000)
commit1f8dcfca6c57606b9f4f96404642c02562289b83
tree38f0d4edccac14e7254b3e719a26db7c44572f25
parent6e8090356fdd160f05612f8c37dbfd36f75fc844
Don't warn for unused macro when undef'ing it, if it comes from an included file. rdar://9745065

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134919 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp
test/Preprocessor/warn-macro-unused.c