summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/pp-trace/PPCallbacksTracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/pp-trace/PPCallbacksTracker.cpp')
-rw-r--r--clang-tools-extra/pp-trace/PPCallbacksTracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/pp-trace/PPCallbacksTracker.cpp b/clang-tools-extra/pp-trace/PPCallbacksTracker.cpp
index 4b8a658b438..6000dcb3a87 100644
--- a/clang-tools-extra/pp-trace/PPCallbacksTracker.cpp
+++ b/clang-tools-extra/pp-trace/PPCallbacksTracker.cpp
@@ -112,11 +112,11 @@ void PPCallbacksTracker::FileChanged(SourceLocation Loc,
// Callback invoked whenever a source file is skipped as the result
// of header guard optimization.
-void PPCallbacksTracker::FileSkipped(const FileEntry &SkippedFile,
+void PPCallbacksTracker::FileSkipped(const FileEntryRef &SkippedFile,
const Token &FilenameTok,
SrcMgr::CharacteristicKind FileType) {
beginCallback("FileSkipped");
- appendArgument("ParentFile", &SkippedFile);
+ appendArgument("ParentFile", &SkippedFile.getFileEntry());
appendArgument("FilenameTok", FilenameTok);
appendArgument("FileType", FileType, CharacteristicKindStrings);
}
OpenPOWER on IntegriCloud