| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Headers.cpp | 120 if (const FileEntry *FE = SM.getFileEntryForID(PrevFID)) { in FileChanged() 126 *Out->getID(SM.getFileEntryForID(PrevFID))); in FileChanged() 129 *Out->getID(SM.getFileEntryForID(PrevFID))); in FileChanged() 174 *Out->getID(SM.getFileEntryForID(SM.getFileID(Range.getBegin())))); in HandleComment() 243 MainFileEntry = SM.getFileEntryForID(SM.getMainFileID()); in collect()
|
| H A D | IncludeCleaner.cpp | 308 for (const FileEntry *FE = SM.getFileEntryForID(ID); ID != SM.getMainFileID(); in headerResponsible() 309 FE = SM.getFileEntryForID(ID)) { in headerResponsible() 445 const FileEntry *FE = SM.getFileEntryForID(FID); in translateToHeaderIDs()
|
| H A D | XRefs.cpp | 211 const FileEntry *F = SM.getFileEntryForID(SM.getFileID(Loc)); in makeLocation() 490 getCanonicalPath(SM.getFileEntryForID(SM.getMainFileID()), SM); in locateSymbolForType() 755 getCanonicalPath(SM.getFileEntryForID(SM.getMainFileID()), SM); in locateSymbolAt() 838 getCanonicalPath(SM.getFileEntryForID(SM.getMainFileID()), SM); in getDocumentLinks() 1282 getCanonicalPath(SM.getFileEntryForID(SM.getMainFileID()), SM); in findImplementations() 1331 getCanonicalPath(SM.getFileEntryForID(SM.getMainFileID()), SM); in findReferences() 1591 getCanonicalPath(SM.getFileEntryForID(SM.getFileID(NameLoc)), SM); in declToHierarchyItem() 1592 auto TUPath = getCanonicalPath(SM.getFileEntryForID(SM.getMainFileID()), SM); in declToHierarchyItem()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | LogDiagnosticPrinter.cpp | 121 if (const FileEntry *FE = SM.getFileEntryForID(FID)) in HandleDiagnostic() 150 if (const FileEntry *FE = SM.getFileEntryForID(FID)) in HandleDiagnostic()
|
| H A D | VerifyDiagnosticConsumer.cpp | 740 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic() 871 if (const FileEntry *File = SourceMgr->getFileEntryForID( in PrintUnexpected() 924 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile() 928 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile() 1029 const FileEntry *FE = SM.getFileEntryForID(FID); in UpdateParsedFileStatus()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | AbseilMatcher.h | 39 SourceManager.getFileEntryForID(SourceManager.getFileID(Loc)); in AST_POLYMORPHIC_MATCHER()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | FindAllMacros.cpp | 64 Reporter->reportSymbols(SM->getFileEntryForID(SM->getMainFileID())->getName(), in EndOfMainFile()
|
| H A D | FindAllSymbols.cpp | 255 std::string(SM->getFileEntryForID(SM->getMainFileID())->getName()); in run()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | HTMLPrint.cpp | 65 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
|
| H A D | FixItRewriter.cpp | 96 const FileEntry *Entry = Rewrite.getSourceMgr().getFileEntryForID(I->first); in WriteFixedFiles()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | KernelNameRestrictionCheck.cpp | 81 const FileEntry *Entry = SM.getFileEntryForID(SM.getMainFileID()); in EndOfMainFile()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | HeaderGuard.cpp | 40 if (const FileEntry *FE = SM.getFileEntryForID(SM.getFileID(Loc))) { in FileChanged() 83 SM.getFileEntryForID(SM.getFileID(MI->getDefinitionLoc())); in EndOfMainFile()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 331 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation() 367 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getFileLocation()
|
| H A D | CIndexHigh.cpp | 291 if (SM.getFileEntryForID(LocInfo.first) != data->File) in findFileMacroRefVisit() 363 if (SM.getFileEntryForID(LocInfo.first) != File) in visit()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | PlistReporter.cpp | 75 EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n'; in writeARCDiagsToPlist()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Tweak.cpp | 108 if (auto FilePath = getCanonicalPath(SM.getFileEntryForID(FID), SM)) in fileEdit()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RewriterTestContext.h | 103 Sources.getFileEntryForID(ID), Line, Column); in getLocation()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/indexer/ |
| H A D | IndexerMain.cpp | 49 const auto *F = SM.getFileEntryForID(FID); in create()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | CanonicalIncludes.cpp | 719 if (auto *FE = SM.getFileEntryForID(SM.getFileID(Range.getBegin()))) in collectIWYUHeaderMaps()
|
| H A D | SymbolCollector.cpp | 397 const FileEntry *FE = SM.getFileEntryForID(FID); in getIncludeHeaderUncached() 441 auto *FE = SM.getFileEntryForID(SM.getFileID(TokLoc)); in getTokenLocation() 646 const auto *MainFileEntry = SM.getFileEntryForID(SM.getMainFileID()); in handleMacros() 977 if (const auto *FE = SM.getFileEntryForID(SR.FID)) { in addRef()
|
| /llvm-project-15.0.7/clang/tools/clang-extdef-mapping/ |
| H A D | ClangExtDefMapGen.cpp | 93 SM.getFileEntryForID(SM.getMainFileID())->tryGetRealPathName()); in addIfInMain()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 223 return SrcMgr->getFileEntryForID(getFileID()); in getFileEntry()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPLexerChange.cpp | 88 SourceMgr.getFileEntryForID(FID) == CodeCompletionFile) { in EnterSourceFile() 488 SourceMgr.getFileEntryForID(CurPPLexer->getFileID()))) in HandleEndOfFile()
|
| H A D | Preprocessor.cpp | 435 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) == File) { in SetCodeCompletionPoint() 565 if (const FileEntry *FE = SourceMgr.getFileEntryForID(MainFileID)) in EnterMainSourceFile() 613 return FE == SourceMgr.getFileEntryForID(PCHThroughHeaderFileID); in isPCHThroughHeader()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A D | Move.cpp | 119 SourceManager.getFileEntryForID(SourceManager.getFileID(ExpansionLoc)); in AST_POLYMORPHIC_MATCHER_P() 138 if (const auto *FileEntry = SM.getFileEntryForID(SM.getFileID(HashLoc))) in InclusionDirective() 344 if (const auto *FE = SM.getFileEntryForID(SM.getFileID(ExpansionLoc))) { in isInHeaderFile()
|