| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | FileEntry.h | 70 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() 154 operator const FileEntry *() const { return &getFileEntry(); } 329 return has_value() ? &(*this)->getFileEntry() : nullptr; 339 return LHS == (RHS ? &RHS->getFileEntry() : nullptr); 342 return (LHS ? &LHS->getFileEntry() : nullptr) == RHS; 406 off_t FileEntryRef::getSize() const { return getFileEntry().getSize(); } [all …]
|
| H A D | SourceLocation.h | 415 const FileEntry *getFileEntry() const;
|
| H A D | SourceManager.h | 979 overrideFileContents(&SourceFile.getFileEntry(), std::move(Buffer)); in overrideFileContents() 1618 return translateFile(&SourceFile.getFileEntry()); in translateFile()
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 441 &File->getFileEntry(), Dir ? Dir : File->getFileEntry().getDir(), in getFileAndSuggestModule() 689 StringRef FrameworkPath = File->getFileEntry().getDir()->getName(); in DoFrameworkLookup() 713 &File->getFileEntry(), FrameworkPath, RequestingModule, in DoFrameworkLookup() 717 if (!HS.findUsableModuleForHeader(&File->getFileEntry(), getDir(), in DoFrameworkLookup() 949 HeaderFileInfo &ToHFI = getFileInfo(&FE->getFileEntry()); in LookupFile() 966 &FE->getFileEntry()); in LookupFile() 1070 const auto FE = &File->getFileEntry(); in LookupFile() 1110 if (checkMSVCHeaderSearch(Diags, MSFE ? &MSFE->getFileEntry() : nullptr, in LookupFile() 1111 &File->getFileEntry(), IncludeLoc)) { in LookupFile() 1121 &File->getFileEntry(), isAngled, FoundByHeaderMap); in LookupFile() [all …]
|
| H A D | PreprocessorLexer.cpp | 51 PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
|
| H A D | PPDirectives.cpp | 984 if ((FileEnt = ISEntry.ThePPLexer->getFileEntry())) in LookupFile() 1005 if (&FE->getFileEntry() == FromFile) { in LookupFile() 1032 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile() 1047 if ((CurFileEnt = ISEntry.ThePPLexer->getFileEntry())) { in LookupFile() 1917 LookupFromFile = CurPPLexer->getFileEntry(); in getIncludeNextStart() 2175 if (File && isPCHThroughHeader(&File->getFileEntry())) in HandleHeaderIncludeOrImport() 2303 FileCharacter = std::max(HeaderInfo.getFileDirFlavor(&File->getFileEntry()), in HandleHeaderIncludeOrImport() 2320 !HeaderInfo.ShouldEnterIncludeFile(*this, &File->getFileEntry(), in HandleHeaderIncludeOrImport() 2345 SourceMgr.isMainFile(File->getFileEntry())) { in HandleHeaderIncludeOrImport() 2377 !IsMapped && !File->getFileEntry().tryGetRealPathName().empty(); in HandleHeaderIncludeOrImport() [all …]
|
| H A D | Pragma.cpp | 418 HeaderInfo.MarkFileIncludeOnce(getCurrentFileLexer()->getFileEntry()); in HandlePragmaOnce() 483 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader() 540 const FileEntry *CurFile = getCurrentFileLexer()->getFileEntry(); in HandlePragmaDependency()
|
| H A D | PPLexerChange.cpp | 360 if (const FileEntry *FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
|
| H A D | PPMacroExpansion.cpp | 1260 PP.getHeaderSearchInfo().getFileDirFlavor(&File->getFileEntry()); in EvaluateHasIncludeCommon()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | FileManager.cpp | 201 return &Result->getFileEntry(); in getFile() 384 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN() 392 return &getVirtualFileRef(Filename, Size, ModificationTime).getFileEntry(); in getVirtualFile() 496 BFE->Dir = VF.getFileEntry().Dir; in getBypassFile()
|
| H A D | SourceLocation.cpp | 225 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry() function in FullSourceLoc
|
| H A D | Sarif.cpp | 217 const FileEntry *FE = Start.getExpansionLoc().getFileEntry(); in createPhysicalLocation()
|
| H A D | SourceManager.cpp | 717 assert(isFileOverridden(&File.getFileEntry())); in bypassFileContentsOverride()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | PreprocessorLexer.h | 160 OptionalFileEntryRefDegradesToFileEntryPtr getFileEntry() const;
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | SARIFDiagnostic.cpp | 73 if (const FileEntry *FE = Loc.getFileEntry()) { in addLocationToResult()
|
| H A D | FrontendAction.cpp | 841 FileName = FE->getFileEntry().getName(); in BeginSourceFile()
|
| H A D | TextDiagnostic.cpp | 801 if (const FileEntry *FE = Loc.getFileEntry()) { in emitDiagnosticLoc()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.cpp | 473 const FileEntry *FE = File ? &File->getFileEntry() : nullptr; in ppIncludedFile() 503 FE = const_cast<FileEntry *>(&File->getFileEntry()); in importedModule()
|
| H A D | CIndex.cpp | 8539 return const_cast<FileEntry *>(File ? &File->getFileEntry() : nullptr); in clang_getIncludedFile() 8749 return const_cast<FileEntry *>(&File->getFileEntry()); in clang_Module_getASTFile()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 10078 const FileEntry *CurFile = PP.getCurrentFileLexer()->getFileEntry(); in CodeCompleteIncludedFile()
|