aboutsummaryrefslogtreecommitdiff
path: root/clang-move
diff options
context:
space:
mode:
authorJulie Hockett <juliehockett@google.com>2018-05-10 19:13:14 +0000
committerJulie Hockett <juliehockett@google.com>2018-05-10 19:13:14 +0000
commitb7d71a520dd9671578c3d3c723876fd6793bb8e8 (patch)
treeb07da8548609ec44df248211ae084684952ae666 /clang-move
parent22f9b1e0f683324a9212fecf10931d0565c3f59e (diff)
Reland "[tools] Updating PPCallbacks::InclusionDirective calls"
This commit relands r331905. r331904 added SrcMgr::CharacteristicKind to the InclusionDirective callback, this revision updates instances of it in clang-tools-extra. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@332023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-move')
-rw-r--r--clang-move/ClangMove.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-move/ClangMove.cpp b/clang-move/ClangMove.cpp
index d600daa2..b89e0be1 100644
--- a/clang-move/ClangMove.cpp
+++ b/clang-move/ClangMove.cpp
@@ -131,7 +131,8 @@ public:
clang::CharSourceRange FilenameRange,
const clang::FileEntry * /*File*/,
StringRef SearchPath, StringRef /*RelativePath*/,
- const clang::Module * /*Imported*/) override {
+ const clang::Module * /*Imported*/,
+ SrcMgr::CharacteristicKind /*FileType*/) override {
if (const auto *FileEntry = SM.getFileEntryForID(SM.getFileID(HashLoc)))
MoveTool->addIncludes(FileName, IsAngled, SearchPath,
FileEntry->getName(), FilenameRange, SM);