File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -363,14 +363,15 @@ class SymbolCollector::HeaderFileURICache {
363363 // named `Framework`, e.g. `NSObject.h` in framework `Foundation` would
364364 // give <Foundation/Foundation.h> if the umbrella header exists, otherwise
365365 // <Foundation/NSObject.h>.
366- std::optional<llvm::StringRef> getFrameworkHeaderIncludeSpelling (
367- const FileEntry *FE, llvm::StringRef Framework, HeaderSearch &HS) {
368- auto Res = CachePathToFrameworkSpelling.try_emplace (FE->getName ());
366+ std::optional<llvm::StringRef>
367+ getFrameworkHeaderIncludeSpelling (FileEntryRef FE, llvm::StringRef Framework,
368+ HeaderSearch &HS) {
369+ auto Res = CachePathToFrameworkSpelling.try_emplace (FE.getName ());
369370 auto *CachedHeaderSpelling = &Res.first ->second ;
370371 if (!Res.second )
371372 return llvm::StringRef (*CachedHeaderSpelling);
372373
373- auto HeaderPath = splitFrameworkHeaderPath (FE-> getName ());
374+ auto HeaderPath = splitFrameworkHeaderPath (FE. getName ());
374375 if (!HeaderPath) {
375376 // Unexpected: must not be a proper framework header, don't cache the
376377 // failure.
You can’t perform that action at this time.
0 commit comments