Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DFileEntry.h63 const FileEntry &getFileEntry() const { in getFileEntry() function
79 return &LHS.getFileEntry() == &RHS.getFileEntry();
82 return LHS == &RHS.getFileEntry();
85 return &LHS.getFileEntry() == RHS;
100 return llvm::hash_value(&Ref.getFileEntry()); in hash_value()
148 operator const FileEntry *() const { return &getFileEntry(); }
317 return hasValue() ? &getValue().getFileEntry() : nullptr;
386 bool FileEntryRef::isValid() const { return getFileEntry().isValid(); }
393 return getFileEntry().getUniqueID();
397 return getFileEntry().getModificationTime();
[all …]
H A DSourceLocation.h410 const FileEntry *getFileEntry() const;
H A DSourceManager.h963 overrideFileContents(&SourceFile.getFileEntry(), std::move(Buffer)); in overrideFileContents()
1597 return translateFile(&SourceFile.getFileEntry()); in translateFile()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp367 &File->getFileEntry(), Dir ? Dir : File->getFileEntry().getDir(), in getFileAndSuggestModule()
613 StringRef FrameworkPath = File->getFileEntry().getDir()->getName(); in DoFrameworkLookup()
637 &File->getFileEntry(), FrameworkPath, RequestingModule, in DoFrameworkLookup()
641 if (!HS.findUsableModuleForHeader(&File->getFileEntry(), getDir(), in DoFrameworkLookup()
841 HeaderFileInfo &ToHFI = getFileInfo(&FE->getFileEntry()); in LookupFile()
858 &FE->getFileEntry()); in LookupFile()
946 HeaderFileInfo &HFI = getFileInfo(&File->getFileEntry()); in LookupFile()
977 &File->getFileEntry(), IncludeLoc)) { in LookupFile()
987 &File->getFileEntry(), isAngled, FoundByHeaderMap); in LookupFile()
1013 File ? &File->getFileEntry() : nullptr, in LookupFile()
[all …]
H A DPPDirectives.cpp856 if ((FileEnt = ISEntry.ThePPLexer->getFileEntry())) in LookupFile()
877 if (&FE->getFileEntry() == FromFile) { in LookupFile()
895 Filename, &FE->getFileEntry()); in LookupFile()
904 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile()
911 Filename, &FE->getFileEntry()); in LookupFile()
919 if ((CurFileEnt = ISEntry.ThePPLexer->getFileEntry())) { in LookupFile()
926 FilenameLoc, Filename, &FE->getFileEntry()); in LookupFile()
2030 if (File && isPCHThroughHeader(&File->getFileEntry())) in HandleHeaderIncludeOrImport()
2048 HeaderInfo.getFileInfo(&File->getFileEntry()).NumIncludes) in HandleHeaderIncludeOrImport()
2158 SourceMgr.isMainFile(File->getFileEntry())) { in HandleHeaderIncludeOrImport()
[all …]
H A DPreprocessorLexer.cpp50 const FileEntry *PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
H A DPragma.cpp414 HeaderInfo.MarkFileIncludeOnce(getCurrentFileLexer()->getFileEntry()); in HandlePragmaOnce()
479 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
571 HeaderInfo.AddFileAlias(TheLexer->getFileEntry(), Filename); in HandlePragmaIncludeInstead()
582 const FileEntry *CurFile = getCurrentFileLexer()->getFileEntry(); in HandlePragmaDependency()
H A DPPLexerChange.cpp371 if (const FileEntry *FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
H A DPPMacroExpansion.cpp1237 PP.getHeaderSearchInfo().getFileDirFlavor(&File->getFileEntry()); in EvaluateHasIncludeCommon()
1274 LookupFromFile = PP.getCurrentLexer()->getFileEntry(); in EvaluateHasIncludeNext()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp199 return &Result->getFileEntry(); in getFile()
354 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN()
362 return &getVirtualFileRef(Filename, Size, ModificationTime).getFileEntry(); in getVirtualFile()
459 const FileEntry &VFE = VF.getFileEntry(); in getBypassFile()
H A DSourceLocation.cpp221 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry() function in FullSourceLoc
H A DSourceManager.cpp712 assert(isFileOverridden(&File.getFileEntry())); in bypassFileContentsOverride()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessorLexer.h168 const FileEntry *getFileEntry() const;
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp266 *P.asLocation().getExpansionLoc().getFileEntry(), in createThreadFlow()
297 *Diag.getLocation().asLocation().getExpansionLoc().getFileEntry(), in createResult()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp323 {std::string(Name), std::string(Name), &FE->getFileEntry()}); in BeginSourceFileAction()
H A DTextDiagnostic.cpp801 const FileEntry *FE = Loc.getFileEntry(); in emitDiagnosticLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp9533 auto *CurFile = PP.getCurrentFileLexer()->getFileEntry(); in CodeCompleteIncludedFile()