Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp158 if (const auto *FE = SM.getFileEntryForID(SM.getMainFileID())) in ParseAST()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp225 return SrcMgr->getFileEntryForID(getFileID()); in getFileEntry()
H A DSourceManager.cpp356 if (auto *FE = getFileEntryForID(MainFileID)) in isMainFile()
2269 const FileEntry *Entry = getFileEntryForID(FileLocID); in noteSLocAddressSpaceUsage()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp88 SourceMgr.getFileEntryForID(FID) == CodeCompletionFile) { in EnterSourceFile()
490 SourceMgr.getFileEntryForID(CurPPLexer->getFileID()))) in HandleEndOfFile()
H A DPreprocessor.cpp429 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) == File) { in SetCodeCompletionPoint()
632 return FE == SourceMgr.getFileEntryForID(PCHThroughHeaderFileID); in isPCHThroughHeader()
H A DPPMacroExpansion.cpp1714 CurFile = SourceMgr.getFileEntryForID(TheLexer->getFileID()); in ExpandBuiltinMacro()
H A DModuleMap.cpp971 assert(SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) && in createModuleForImplementationUnit()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp90 SourceBuffer->getBuffer(), SM.getFileEntryForID(SourceFileID), OS, in loadAPINotes()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp49 return SM.getFileEntryForID(FileIdAndOffset.first) != nullptr; in IsValidEditLoc()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp952 const FileEntry *DiagFile = SM.getFileEntryForID(SM.getFileID(DiagnosticLoc)); in IsFromSameFile()
956 return (DiagFile == SM.getFileEntryForID(SM.getFileID(DirectiveLoc))); in IsFromSameFile()
H A DFrontendAction.cpp149 auto *F = SM.getFileEntryForID(SM.getFileID(R.getBegin())); in HandleTranslationUnit()
150 if (F != SM.getFileEntryForID(SM.getFileID(R.getEnd()))) { in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp115 const FileEntry *FE = SrcMgr.getFileEntryForID(ID); in getAccessForDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp1094 Loc = SM.translateFileLineCol(SM.getFileEntryForID(SM.getMainFileID()), in loadModule()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1074 const FileEntry *getFileEntryForID(FileID FID) const { in getFileEntryForID() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp5667 SourceMgr.getFileEntryForID(SourceMgr.getFileID(UseLoc))) in diagnoseMissingImport()
H A DSemaDecl.cpp4808 auto *FNew = SrcMgr.getFileEntryForID(FNewDecLoc.first); in notePreviousDefinition()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp297 if (auto *FE = SM.getFileEntryForID(FID)) in GetAffectingModuleMaps()