Home
last modified time | relevance | path

Searched refs:getFileEntryForID (Results 1 – 25 of 117) sorted by relevance

12345

/external/llvm-project/clang-tools-extra/clangd/refactor/
DTweak.cpp94 if (auto FilePath = getCanonicalPath(SM.getFileEntryForID(FID), SM)) in fileEdit()
97 SM.getFileEntryForID(FID)->getName()); in fileEdit()
/external/clang/lib/Frontend/
DLogDiagnosticPrinter.cpp122 const FileEntry *FE = SM.getFileEntryForID(FID); in HandleDiagnostic()
151 const FileEntry *FE = SM.getFileEntryForID(FID); in HandleDiagnostic()
DVerifyDiagnosticConsumer.cpp131 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic()
627 if (const FileEntry *File = SourceMgr->getFileEntryForID( in PrintUnexpected()
678 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile()
682 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
784 const FileEntry *FE = SM.getFileEntryForID(FID); in UpdateParsedFileStatus()
DDependencyGraph.cpp82 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
DDependencyFile.cpp50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
284 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); in FileChanged()
/external/llvm-project/clang/lib/Frontend/
DLogDiagnosticPrinter.cpp121 const FileEntry *FE = SM.getFileEntryForID(FID); in HandleDiagnostic()
151 const FileEntry *FE = SM.getFileEntryForID(FID); in HandleDiagnostic()
DVerifyDiagnosticConsumer.cpp744 const FileEntry *FE = SrcManager->getFileEntryForID(FID); in HandleDiagnostic()
875 if (const FileEntry *File = SourceMgr->getFileEntryForID( in PrintUnexpected()
928 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile()
932 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
1033 const FileEntry *FE = SM.getFileEntryForID(FID); in UpdateParsedFileStatus()
DDependencyGraph.cpp84 = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); in InclusionDirective()
/external/llvm-project/clang/lib/Lex/
DPreprocessorLexer.cpp51 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
/external/clang/lib/Lex/
DPreprocessorLexer.cpp57 return PP->getSourceManager().getFileEntryForID(getFileID()); in getFileEntry()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DAbseilMatcher.h39 SourceManager.getFileEntryForID(SourceManager.getFileID(Loc)); in AST_POLYMORPHIC_MATCHER()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp320 !isHeaderFile(SM.getFileEntryForID(SM.getMainFileID())->getName(), in handleDeclOccurrence()
383 const auto *MainFileEntry = SM.getFileEntryForID(SM.getMainFileID()); in handleMacros()
425 !isHeaderFile(SM.getFileEntryForID(SM.getMainFileID())->getName(), in handleMacroOccurrence()
576 if (auto *FileEntry = SM.getFileEntryForID(FID)) { in finish()
742 const FileEntry *FE = SM.getFileEntryForID(FID); in getIncludeHeader()
780 const FileEntry *FE = SM.getFileEntryForID(FID); in isSelfContainedHeader()
DIndexAction.cpp62 const auto File = SM.getFileEntryForID(FileID); in FileChanged()
96 auto IncludingURI = toURI(SM.getFileEntryForID(SM.getFileID(HashLoc))); in InclusionDirective()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllMacros.cpp64 Reporter->reportSymbols(SM->getFileEntryForID(SM->getMainFileID())->getName(), in EndOfMainFile()
/external/clang/lib/Frontend/Rewrite/
DHTMLPrint.cpp68 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DHeaderGuard.cpp40 if (const FileEntry *FE = SM.getFileEntryForID(SM.getFileID(Loc))) { in FileChanged()
83 SM.getFileEntryForID(SM.getFileID(MI->getDefinitionLoc())); in EndOfMainFile()
/external/llvm-project/clang-tools-extra/clang-tidy/altera/
DKernelNameRestrictionCheck.cpp81 const FileEntry *Entry = SM.getFileEntryForID(SM.getMainFileID()); in EndOfMainFile()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DHTMLPrint.cpp65 const FileEntry* Entry = R.getSourceMgr().getFileEntryForID(FID); in HandleTranslationUnit()
/external/llvm-project/clang-tools-extra/clangd/
DHeaders.cpp63 auto *IncludingFileEntry = SM.getFileEntryForID(SM.getFileID(HashLoc)); in InclusionDirective()
68 IncludingFileEntry = SM.getFileEntryForID(MainFID); in InclusionDirective()
/external/llvm-project/clang/tools/clang-extdef-mapping/
DClangExtDefMapGen.cpp87 SM.getFileEntryForID(SM.getMainFileID())->tryGetRealPathName()); in addIfInMain()
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp76 EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n'; in writeARCDiagsToPlist()
/external/llvm-project/clang/lib/ARCMigrate/
DPlistReporter.cpp75 EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n'; in writeARCDiagsToPlist()
/external/llvm-project/clang/tools/libclang/
DCXSourceLocation.cpp331 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation()
367 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getFileLocation()
/external/clang/tools/libclang/
DCXSourceLocation.cpp340 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation()
376 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getFileLocation()
/external/clang/unittests/Tooling/
DRewriterTestContext.h89 Sources.getFileEntryForID(ID), Line, Column); in getLocation()

12345