diff options
author | Julie Hockett <juliehockett@google.com> | 2018-05-09 22:25:47 +0000 |
---|---|---|
committer | Julie Hockett <juliehockett@google.com> | 2018-05-09 22:25:47 +0000 |
commit | b524d5e5537507f066f2fcdcb24b3be3c9a4c566 (patch) | |
tree | fb6e77eebba31f79c6c6f234c902d2cb46024c7f /clang/tools/libclang/Indexing.cpp | |
parent | 4a4384353221b845eccdb631a0f83c66a2544a3c (diff) | |
download | bcm5719-llvm-b524d5e5537507f066f2fcdcb24b3be3c9a4c566.tar.gz bcm5719-llvm-b524d5e5537507f066f2fcdcb24b3be3c9a4c566.zip |
Revert "[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective"
This reverts commit r331904 because of a memory leak.
llvm-svn: 331932
Diffstat (limited to 'clang/tools/libclang/Indexing.cpp')
-rw-r--r-- | clang/tools/libclang/Indexing.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp index 545edfbef4b..51cffbd7f2e 100644 --- a/clang/tools/libclang/Indexing.cpp +++ b/clang/tools/libclang/Indexing.cpp @@ -249,8 +249,7 @@ public: StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, - const Module *Imported, - SrcMgr::CharacteristicKind FileType) override { + const Module *Imported) override { bool isImport = (IncludeTok.is(tok::identifier) && IncludeTok.getIdentifierInfo()->getPPKeywordID() == tok::pp_import); DataConsumer.ppIncludedFile(HashLoc, FileName, File, isImport, IsAngled, |