aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-12-09 03:22:41 +0100
committerGitHub <noreply@github.com>2023-12-08 18:22:41 -0800
commit0cb0a48cdea730e885e8c955ba1687a8191f824c (patch)
tree6ac634281dd164f36f03954cb5d860700adfe728 /clang/lib/Frontend/CompilerInstance.cpp
parentf1e3e8a14f056a0929f62e29c51667aa7dbe4db8 (diff)
downloadllvm-0cb0a48cdea730e885e8c955ba1687a8191f824c.zip
llvm-0cb0a48cdea730e885e8c955ba1687a8191f824c.tar.gz
llvm-0cb0a48cdea730e885e8c955ba1687a8191f824c.tar.bz2
[clang] NFC: Remove `OptionalFileEntryRefDegradesToFileEntryPtr` (#74899)
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index e5f8c07..56bbef9 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -2260,7 +2260,7 @@ GlobalModuleIndex *CompilerInstance::loadGlobalModuleIndex(
for (ModuleMap::module_iterator I = MMap.module_begin(),
E = MMap.module_end(); I != E; ++I) {
Module *TheModule = I->second;
- const FileEntry *Entry = TheModule->getASTFile();
+ OptionalFileEntryRef Entry = TheModule->getASTFile();
if (!Entry) {
SmallVector<std::pair<IdentifierInfo *, SourceLocation>, 2> Path;
Path.push_back(std::make_pair(