[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective
authorJulie Hockett <juliehockett@google.com>
Wed, 9 May 2018 18:27:33 +0000 (18:27 +0000)
committerJulie Hockett <juliehockett@google.com>
Wed, 9 May 2018 18:27:33 +0000 (18:27 +0000)
commit36d94ab8f0123022c460980e31d4ad331ca7eb78
tree401dbcdd497fe057f6c6b7b2278ba22e993a4c30
parent518b6c9882101bb8914c171b24998093afbc7ecb
[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective

Adding a SrcMgr::CharacteristicKind parameter to the InclusionDirective
in PPCallbacks, and updating calls to that function. This will be useful
in https://reviews.llvm.org/D43778 to determine which includes are system
headers.

Differential Revision: https://reviews.llvm.org/D46614

llvm-svn: 331904
13 files changed:
clang/include/clang/Lex/PPCallbacks.h
clang/include/clang/Lex/PreprocessingRecord.h
clang/lib/CodeGen/MacroPPCallbacks.cpp
clang/lib/CodeGen/MacroPPCallbacks.h
clang/lib/Frontend/DependencyFile.cpp
clang/lib/Frontend/DependencyGraph.cpp
clang/lib/Frontend/ModuleDependencyCollector.cpp
clang/lib/Frontend/PrintPreprocessedOutput.cpp
clang/lib/Frontend/Rewrite/InclusionRewriter.cpp
clang/lib/Lex/PPDirectives.cpp
clang/lib/Lex/PreprocessingRecord.cpp
clang/tools/libclang/Indexing.cpp
clang/unittests/Lex/PPCallbacksTest.cpp