Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DFileEntry.h70 const FileEntry &getFileEntry() const { in getFileEntry() function
85 return &LHS.getFileEntry() == &RHS.getFileEntry();
88 return LHS == &RHS.getFileEntry();
91 return &LHS.getFileEntry() == RHS;
106 return llvm::hash_value(&Ref.getFileEntry()); in hash_value()
151 operator const FileEntry *() const { return &getFileEntry(); }
283 return LHS == (RHS ? &RHS->getFileEntry() : nullptr);
286 return (LHS ? &LHS->getFileEntry() : nullptr) == RHS;
355 return getFileEntry().getUniqueID();
359 return getFileEntry().getModificationTime();
[all …]
H A DSourceLocation.h415 const FileEntry *getFileEntry() const;
H A DSourceManager.h1640 return translateFile(&SourceFile.getFileEntry()); in translateFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp50 OptionalFileEntryRef PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
H A DPPDirectives.cpp1008 if ((FileEnt = ISEntry.ThePPLexer->getFileEntry())) in LookupFile()
1029 if (&FE->getFileEntry() == FromFile) { in LookupFile()
1051 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile()
1062 if ((CurFileEnt = ISEntry.ThePPLexer->getFileEntry())) { in LookupFile()
1945 if (auto FE = CurPPLexer->getFileEntry()) in getIncludeNextStart()
2222 if (File && isPCHThroughHeader(&File->getFileEntry())) in HandleHeaderIncludeOrImport()
2392 SourceMgr.isMainFile(File->getFileEntry())) { in HandleHeaderIncludeOrImport()
2424 !IsMapped && !File->getFileEntry().tryGetRealPathName().empty(); in HandleHeaderIncludeOrImport()
2435 StringRef RealPathName = File->getFileEntry().tryGetRealPathName(); in HandleHeaderIncludeOrImport()
H A DHeaderSearch.cpp438 *File, Dir ? Dir : File->getFileEntry().getDir(), RequestingModule, in getFileAndSuggestModule()
503 if (!HS.findUsableModuleForHeader(File, File.getFileEntry().getDir(), in LookupFile()
1112 if (checkMSVCHeaderSearch(Diags, MSFE, &File->getFileEntry(), IncludeLoc)) { in LookupFile()
1148 File ? &File->getFileEntry() : nullptr, in LookupFile()
H A DPragma.cpp429 HeaderInfo.MarkFileIncludeOnce(*getCurrentFileLexer()->getFileEntry()); in HandlePragmaOnce()
494 HeaderInfo.MarkFileSystemHeader(*TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
551 OptionalFileEntryRef CurFile = getCurrentFileLexer()->getFileEntry(); in HandlePragmaDependency()
H A DPPLexerChange.cpp369 if (OptionalFileEntryRef FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp201 return &Result->getFileEntry(); in getFile()
384 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN()
392 return &getVirtualFileRef(Filename, Size, ModificationTime).getFileEntry(); in getVirtualFile()
495 BFE->Dir = VF.getFileEntry().Dir; in getBypassFile()
541 const FileEntry *Entry = &FE.getFileEntry(); in getBufferForFile()
H A DSourceLocation.cpp225 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry() function in FullSourceLoc
H A DSarif.cpp39 StringRef Filename = FE.getFileEntry().tryGetRealPathName(); in getFileName()
H A DSourceManager.cpp714 assert(isFileOverridden(&File.getFileEntry())); in bypassFileContentsOverride()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessorLexer.h160 OptionalFileEntryRef getFileEntry() const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp1044 ParsedFiles.insert(std::make_pair(FID, FE ? &FE->getFileEntry() : nullptr)); in UpdateParsedFileStatus()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp10186 if (auto CurFile = PP.getCurrentFileLexer()->getFileEntry()) in CodeCompleteIncludedFile()