summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPDirectives.cpp
diff options
context:
space:
mode:
authorJulie Hockett <juliehockett@google.com>2018-05-09 22:25:47 +0000
committerJulie Hockett <juliehockett@google.com>2018-05-09 22:25:47 +0000
commitb524d5e5537507f066f2fcdcb24b3be3c9a4c566 (patch)
treefb6e77eebba31f79c6c6f234c902d2cb46024c7f /clang/lib/Lex/PPDirectives.cpp
parent4a4384353221b845eccdb631a0f83c66a2544a3c (diff)
downloadbcm5719-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/lib/Lex/PPDirectives.cpp')
-rw-r--r--clang/lib/Lex/PPDirectives.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp
index 949dbf17563..e8083c721b8 100644
--- a/clang/lib/Lex/PPDirectives.cpp
+++ b/clang/lib/Lex/PPDirectives.cpp
@@ -1968,7 +1968,7 @@ void Preprocessor::HandleIncludeDirective(SourceLocation HashLoc,
HashLoc, IncludeTok,
LangOpts.MSVCCompat ? NormalizedPath.c_str() : Filename, isAngled,
FilenameRange, File, SearchPath, RelativePath,
- ShouldEnter ? nullptr : SuggestedModule.getModule(), FileCharacter);
+ ShouldEnter ? nullptr : SuggestedModule.getModule());
if (SkipHeader && !SuggestedModule.getModule())
Callbacks->FileSkipped(*File, FilenameTok, FileCharacter);
}
OpenPOWER on IntegriCloud