Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
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(); }
388 off_t FileEntryRef::getSize() const { return getFileEntry().getSize(); }
390 unsigned FileEntryRef::getUID() const { return getFileEntry().getUID(); }
[all …]
DSourceLocation.h410 const FileEntry *getFileEntry() const;
DSourceManager.h963 overrideFileContents(&SourceFile.getFileEntry(), std::move(Buffer)); in overrideFileContents()
1597 return translateFile(&SourceFile.getFileEntry()); in translateFile()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
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()
976 if (checkMSVCHeaderSearch(Diags, MSFE ? &MSFE->getFileEntry() : nullptr, in LookupFile()
977 &File->getFileEntry(), IncludeLoc)) { in LookupFile()
987 &File->getFileEntry(), isAngled, FoundByHeaderMap); in LookupFile()
[all …]
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()
2027 CurLexer->addInclude(OriginalFilename, File->getFileEntry(), FilenameLoc); in HandleHeaderIncludeOrImport()
2030 if (File && isPCHThroughHeader(&File->getFileEntry())) in HandleHeaderIncludeOrImport()
2048 HeaderInfo.getFileInfo(&File->getFileEntry()).NumIncludes) in HandleHeaderIncludeOrImport()
[all …]
DPreprocessorLexer.cpp50 const FileEntry *PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
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()
DPPLexerChange.cpp371 if (const FileEntry *FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
DPPMacroExpansion.cpp1237 PP.getHeaderSearchInfo().getFileDirFlavor(&File->getFileEntry()); in EvaluateHasIncludeCommon()
1274 LookupFromFile = PP.getCurrentLexer()->getFileEntry(); in EvaluateHasIncludeNext()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
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()
DSourceLocation.cpp221 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry() function in FullSourceLoc
DSourceManager.cpp712 assert(isFileOverridden(&File.getFileEntry())); in bypassFileContentsOverride()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
DPreprocessorLexer.h168 const FileEntry *getFileEntry() const;
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DSarifDiagnostics.cpp266 *P.asLocation().getExpansionLoc().getFileEntry(), in createThreadFlow()
297 *Diag.getLocation().asLocation().getExpansionLoc().getFileEntry(), in createResult()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
DFrontendActions.cpp323 {std::string(Name), std::string(Name), &FE->getFileEntry()}); in BeginSourceFileAction()
DTextDiagnostic.cpp801 const FileEntry *FE = Loc.getFileEntry(); in emitDiagnosticLoc()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp9533 auto *CurFile = PP.getCurrentFileLexer()->getFileEntry(); in CodeCompleteIncludedFile()