diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Lex/PreprocessorLexer.cpp')
-rw-r--r-- | contrib/llvm-project/clang/lib/Lex/PreprocessorLexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/clang/lib/Lex/PreprocessorLexer.cpp b/contrib/llvm-project/clang/lib/Lex/PreprocessorLexer.cpp index 5f6f4a13419b..7551ba235fe9 100644 --- a/contrib/llvm-project/clang/lib/Lex/PreprocessorLexer.cpp +++ b/contrib/llvm-project/clang/lib/Lex/PreprocessorLexer.cpp @@ -47,6 +47,6 @@ void PreprocessorLexer::LexIncludeFilename(Token &FilenameTok) { /// getFileEntry - Return the FileEntry corresponding to this FileID. Like /// getFileID(), this only works for lexers with attached preprocessors. -const FileEntry *PreprocessorLexer::getFileEntry() const { - return PP->getSourceManager().getFileEntryForID(getFileID()); +OptionalFileEntryRef PreprocessorLexer::getFileEntry() const { + return PP->getSourceManager().getFileEntryRefForID(getFileID()); } |