]> granicus.if.org Git - clang/commit
[Preprocessor] Pass TranslationUnitKind to the preprocessor and if it is TU_Prefix
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 7 Mar 2014 07:47:58 +0000 (07:47 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 7 Mar 2014 07:47:58 +0000 (07:47 +0000)
commitddea7155402b971fff22173cfa9912117da68ce4
treea36c3fbd976d18da6f719959161827f368210bd3
parentfec65ff9a65e73091d9f8117e6a072b79a6b8363
[Preprocessor] Pass TranslationUnitKind to the preprocessor and if it is TU_Prefix
avoid warning for unused macros.

rdar://15034698

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203213 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/CompilerInstance.h
include/clang/Lex/Preprocessor.h
lib/Frontend/ChainedIncludesSource.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/FrontendAction.cpp
lib/Lex/PPLexerChange.cpp
lib/Lex/Preprocessor.cpp
test/Index/preamble.c