aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/utils
diff options
context:
space:
mode:
authorJulie Hockett <juliehockett@google.com>2018-05-09 22:25:43 +0000
committerJulie Hockett <juliehockett@google.com>2018-05-09 22:25:43 +0000
commit4e77effc3a17c5d8286fc3aa0637a47028dd0dd7 (patch)
tree574d558fb174645c661271196946bc5feb546dd8 /clang-tidy/utils
parenta26d145f56544f15dd910d146f4d802b927ecf8a (diff)
Revert "[tools] Updating PPCallbacks::InclusionDirective calls"
This reverts commit r331905, since it's dependent on reverted r331905. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@331931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/utils')
-rw-r--r--clang-tidy/utils/IncludeInserter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang-tidy/utils/IncludeInserter.cpp b/clang-tidy/utils/IncludeInserter.cpp
index 64e4213c..9fc7f521 100644
--- a/clang-tidy/utils/IncludeInserter.cpp
+++ b/clang-tidy/utils/IncludeInserter.cpp
@@ -25,8 +25,7 @@ public:
bool IsAngled, CharSourceRange FileNameRange,
const FileEntry * /*IncludedFile*/,
StringRef /*SearchPath*/, StringRef /*RelativePath*/,
- const Module * /*ImportedModule*/,
- SrcMgr::CharacteristicKind /*FileType*/) override {
+ const Module * /*ImportedModule*/) override {
Inserter->AddInclude(FileNameRef, IsAngled, HashLocation,
IncludeToken.getEndLoc());
}