diff options
author | Julie Hockett <juliehockett@google.com> | 2018-05-09 22:25:43 +0000 |
---|---|---|
committer | Julie Hockett <juliehockett@google.com> | 2018-05-09 22:25:43 +0000 |
commit | 4a4384353221b845eccdb631a0f83c66a2544a3c (patch) | |
tree | a3cf775c17bb23d9b36bccf6b3508e5f0b67b77f /clang-tools-extra/modularize/PreprocessorTracker.cpp | |
parent | 06af01bbc23d422df3bbac82752b935fa217893d (diff) | |
download | bcm5719-llvm-4a4384353221b845eccdb631a0f83c66a2544a3c.tar.gz bcm5719-llvm-4a4384353221b845eccdb631a0f83c66a2544a3c.zip |
Revert "[tools] Updating PPCallbacks::InclusionDirective calls"
This reverts commit r331905, since it's dependent on reverted r331905.
llvm-svn: 331931
Diffstat (limited to 'clang-tools-extra/modularize/PreprocessorTracker.cpp')
-rw-r--r-- | clang-tools-extra/modularize/PreprocessorTracker.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang-tools-extra/modularize/PreprocessorTracker.cpp b/clang-tools-extra/modularize/PreprocessorTracker.cpp index 6cb34c7b25a..a9d61f05d04 100644 --- a/clang-tools-extra/modularize/PreprocessorTracker.cpp +++ b/clang-tools-extra/modularize/PreprocessorTracker.cpp @@ -750,8 +750,7 @@ public: const clang::FileEntry *File, llvm::StringRef SearchPath, llvm::StringRef RelativePath, - const clang::Module *Imported, - clang::SrcMgr::CharacteristicKind FileType) override; + const clang::Module *Imported) override; void FileChanged(clang::SourceLocation Loc, clang::PPCallbacks::FileChangeReason Reason, clang::SrcMgr::CharacteristicKind FileType, @@ -1290,7 +1289,7 @@ void PreprocessorCallbacks::InclusionDirective( llvm::StringRef FileName, bool IsAngled, clang::CharSourceRange FilenameRange, const clang::FileEntry *File, llvm::StringRef SearchPath, llvm::StringRef RelativePath, - const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType) { + const clang::Module *Imported) { int DirectiveLine, DirectiveColumn; std::string HeaderPath = getSourceLocationFile(PP, HashLoc); getSourceLocationLineAndColumn(PP, HashLoc, DirectiveLine, DirectiveColumn); |