Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFileEntry.h70 const FileEntry &getFileEntry() const { in getFileEntry() function
91 return &LHS.getFileEntry() == &RHS.getFileEntry();
94 return LHS == &RHS.getFileEntry();
97 return &LHS.getFileEntry() == RHS;
112 return llvm::hash_value(&Ref.getFileEntry()); in hash_value()
157 operator const FileEntry *() const { return &getFileEntry(); }
289 return LHS == (RHS ? &RHS->getFileEntry() : nullptr);
292 return (LHS ? &LHS->getFileEntry() : nullptr) == RHS;
350 off_t FileEntryRef::getSize() const { return getFileEntry().getSize(); }
352 unsigned FileEntryRef::getUID() const { return getFileEntry().getUID(); }
[all …]
H A DSourceLocation.h418 const FileEntry *getFileEntry() const;
H A DSourceManager.h1655 return translateFile(&SourceFile.getFileEntry()); in translateFile()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessorLexer.cpp49 OptionalFileEntryRef PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
H A DPPDirectives.cpp1035 if ((FileEnt = ISEntry.ThePPLexer->getFileEntry())) in LookupFile()
1056 if (&FE->getFileEntry() == FromFile) { in LookupFile()
1078 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile()
1089 if ((CurFileEnt = ISEntry.ThePPLexer->getFileEntry())) { in LookupFile()
1386 ? *getCurrentFileLexer()->getFileEntry() in HandleDirective()
2048 if (auto FE = CurPPLexer->getFileEntry()) in getIncludeNextStart()
2334 if (File && isPCHThroughHeader(&File->getFileEntry())) in HandleHeaderIncludeOrImport()
2503 SourceMgr.isMainFile(File->getFileEntry())) { in HandleHeaderIncludeOrImport()
2534 !IsMapped && !File->getFileEntry().tryGetRealPathName().empty(); in HandleHeaderIncludeOrImport()
2545 StringRef RealPathName = File->getFileEntry().tryGetRealPathName(); in HandleHeaderIncludeOrImport()
H A DHeaderSearch.cpp467 *File, Dir ? Dir : File->getFileEntry().getDir(), RequestingModule, in getFileAndSuggestModule()
532 if (!HS.findUsableModuleForHeader(File, File.getFileEntry().getDir(), in LookupFile()
1125 if (checkMSVCHeaderSearch(Diags, MSFE, &File->getFileEntry(), IncludeLoc)) { in LookupFile()
H A DPragma.cpp425 HeaderInfo.MarkFileIncludeOnce(*getCurrentFileLexer()->getFileEntry()); in HandlePragmaOnce()
490 HeaderInfo.MarkFileSystemHeader(*TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
547 OptionalFileEntryRef CurFile = getCurrentFileLexer()->getFileEntry(); in HandlePragmaDependency()
H A DPPLexerChange.cpp362 if (OptionalFileEntryRef FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
H A DPPMacroExpansion.cpp1291 this->getCurrentFileLexer() ? *this->getCurrentFileLexer()->getFileEntry() in EvaluateHasEmbed()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp358 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN()
373 return &getVirtualFileRef(Filename, Size, ModificationTime).getFileEntry(); in getVirtualFile()
474 BFE->Dir = VF.getFileEntry().Dir; in getBypassFile()
521 const FileEntry *Entry = &FE.getFileEntry(); in getBufferForFile()
H A DSourceLocation.cpp223 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry() function in FullSourceLoc
H A DSarif.cpp38 StringRef Filename = FE.getFileEntry().tryGetRealPathName(); in getFileName()
H A DSourceManager.cpp742 assert(isFileOverridden(&File.getFileEntry())); in bypassFileContentsOverride()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp1062 ParsedFiles.insert(std::make_pair(FID, FE ? &FE->getFileEntry() : nullptr)); in UpdateParsedFileStatus()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp10435 if (auto CurFile = SemaRef.PP.getCurrentFileLexer()->getFileEntry()) in CodeCompleteIncludedFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc11379 {"_ZNK5clang17PreprocessorLexer12getFileEntryEv", "clang::PreprocessorLexer::getFileEntry() const"},