]> granicus.if.org Git - clang/commit
[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)
commit6a37651bb30339e60ea617d510b4703bcd2e89e8
tree6caba31415c8f39d5fb2995e9900a988e48fca41
parent930a12f648006628481eeaf06d83c7168869d06c
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331904 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/Lex/PPCallbacks.h
include/clang/Lex/PreprocessingRecord.h
lib/CodeGen/MacroPPCallbacks.cpp
lib/CodeGen/MacroPPCallbacks.h
lib/Frontend/DependencyFile.cpp
lib/Frontend/DependencyGraph.cpp
lib/Frontend/ModuleDependencyCollector.cpp
lib/Frontend/PrintPreprocessedOutput.cpp
lib/Frontend/Rewrite/InclusionRewriter.cpp
lib/Lex/PPDirectives.cpp
lib/Lex/PreprocessingRecord.cpp
tools/libclang/Indexing.cpp
unittests/Lex/PPCallbacksTest.cpp