aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/MacroPPCallbacks.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/MacroPPCallbacks.h')
-rw-r--r--clang/lib/CodeGen/MacroPPCallbacks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/MacroPPCallbacks.h b/clang/lib/CodeGen/MacroPPCallbacks.h
index d249b5b0eb88..01041b16e4b7 100644
--- a/clang/lib/CodeGen/MacroPPCallbacks.h
+++ b/clang/lib/CodeGen/MacroPPCallbacks.h
@@ -100,9 +100,9 @@ public:
/// Callback invoked whenever a directive (#xxx) is processed.
void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
StringRef FileName, bool IsAngled,
- CharSourceRange FilenameRange, const FileEntry *File,
- StringRef SearchPath, StringRef RelativePath,
- const Module *Imported,
+ CharSourceRange FilenameRange,
+ Optional<FileEntryRef> File, StringRef SearchPath,
+ StringRef RelativePath, const Module *Imported,
SrcMgr::CharacteristicKind FileType) override;
/// Hook called whenever a macro definition is seen.