| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | FileEntry.h | 40 class FileEntryRef; variable 60 class FileEntryRef { 78 friend bool operator==(const FileEntryRef &LHS, const FileEntryRef &RHS) { 87 friend bool operator!=(const FileEntryRef &LHS, const FileEntryRef &RHS) { 150 FileEntryRef() = delete; 174 FileEntryRef(dense_map_empty_tag) 230 return clang::FileEntryRef(clang::FileEntryRef::dense_map_empty_tag()); 234 return clang::FileEntryRef(clang::FileEntryRef::dense_map_tombstone_tag()); 241 static bool isEqual(clang::FileEntryRef LHS, clang::FileEntryRef RHS) { 281 : public Optional<FileEntryRef> { [all …]
|
| H A D | FileManager.h | 92 llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>, llvm::BumpPtrAllocator> 99 std::unique_ptr<llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>>> 103 Optional<FileEntryRef> STDIN; 219 llvm::Expected<FileEntryRef> getFileRef(StringRef Filename, 229 llvm::Expected<FileEntryRef> getSTDIN(); 232 llvm::Optional<FileEntryRef> getOptionalFileRef(StringRef Filename, 253 FileEntryRef getVirtualFileRef(StringRef Filename, off_t Size, 267 llvm::Optional<FileEntryRef> getBypassFile(FileEntryRef VFE);
|
| H A D | SourceManager.h | 874 FileID createFileID(FileEntryRef SourceFile, SourceLocation IncludePos, 961 void overrideFileContents(FileEntryRef SourceFile, in overrideFileContents() 992 Optional<FileEntryRef> bypassFileContentsOverride(FileEntryRef File); 1037 Optional<FileEntryRef> getFileEntryRefForID(FileID FID) const { in getFileEntryRefForID() 1596 FileID translateFile(FileEntryRef SourceFile) const { in translateFile() 1847 SrcMgr::ContentCache &getOrCreateContentCache(FileEntryRef SourceFile,
|
| H A D | Module.h | 166 Optional<FileEntryRef> ASTFile; 539 void setASTFile(Optional<FileEntryRef> File) { in setASTFile()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | FileManager.cpp | 203 llvm::Expected<FileEntryRef> 219 return FileEntryRef(*reinterpret_cast<const FileEntryRef::MapEntry *>( in getFileRef() 296 FileEntryRef ReturnedRef(*NamedFileEnt); in getFileRef() 375 return FileEntryRef(NamedFileEnt); in getVirtualFileRef() 376 return FileEntryRef(*reinterpret_cast<const FileEntryRef::MapEntry *>( in getVirtualFileRef() 420 return FileEntryRef(NamedFileEnt); in getVirtualFileRef() 431 UFE->LastRef = FileEntryRef(NamedFileEnt); in getVirtualFileRef() 438 return FileEntryRef(NamedFileEnt); in getVirtualFileRef() 441 llvm::Optional<FileEntryRef> FileManager::getBypassFile(FileEntryRef VF) { in getBypassFile() 455 return FileEntryRef(*Insertion.first); in getBypassFile() [all …]
|
| H A D | SourceManager.cpp | 389 ContentCache &SourceManager::getOrCreateContentCache(FileEntryRef FileEnt, in getOrCreateContentCache() 541 FileID SourceManager::createFileID(FileEntryRef SourceFile, in createFileID() 710 Optional<FileEntryRef> 711 SourceManager::bypassFileContentsOverride(FileEntryRef File) { in bypassFileContentsOverride() 713 llvm::Optional<FileEntryRef> BypassFile = FileMgr.getBypassFile(File); in bypassFileContentsOverride()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPCallbacks.cpp | 18 bool IsAngled, Optional<FileEntryRef> File, in HasInclude() 25 bool IsAngled, Optional<FileEntryRef> File, in HasInclude()
|
| H A D | HeaderSearch.cpp | 345 Optional<FileEntryRef> HeaderSearch::getFileAndSuggestModule( in getFileAndSuggestModule() 376 Optional<FileEntryRef> DirectoryLookup::LookupFile( in LookupFile() 438 Optional<FileEntryRef> Result = HM->LookupFile(Filename, HS.getFileMgr()); in LookupFile() 513 Optional<FileEntryRef> DirectoryLookup::DoFrameworkLookup( in DoFrameworkLookup() 754 Optional<FileEntryRef> HeaderSearch::LookupFile( in LookupFile() 793 Optional<FileEntryRef> MSFE; in LookupFile() 822 if (Optional<FileEntryRef> FE = getFileAndSuggestModule( in LookupFile() 921 Optional<FileEntryRef> File = SearchDirs[i].LookupFile( in LookupFile() 1007 Optional<FileEntryRef> File = LookupFile( in LookupFile() 1044 Optional<FileEntryRef> HeaderSearch::LookupSubframeworkHeader( in LookupSubframeworkHeader()
|
| H A D | PPDirectives.cpp | 808 Optional<FileEntryRef> Preprocessor::LookupFile( in LookupFile() 869 while (Optional<FileEntryRef> FE = HeaderInfo.LookupFile( in LookupFile() 887 Optional<FileEntryRef> FE = HeaderInfo.LookupFile( in LookupFile() 905 if (Optional<FileEntryRef> FE = HeaderInfo.LookupSubframeworkHeader( in LookupFile() 920 if (Optional<FileEntryRef> FE = HeaderInfo.LookupSubframeworkHeader( in LookupFile() 1815 Optional<FileEntryRef> Preprocessor::LookupHeaderIncludeOrImport( in LookupHeaderIncludeOrImport() 1823 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() 1841 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() 1860 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() 1891 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() [all …]
|
| H A D | HeaderMap.cpp | 199 Optional<FileEntryRef> HeaderMap::LookupFile(StringRef Filename, in LookupFile()
|
| H A D | Pragma.cpp | 501 Optional<FileEntryRef> &File, in LexHeader() 557 Optional<FileEntryRef> File; in HandlePragmaIncludeInstead() 576 Optional<FileEntryRef> File; in HandlePragmaDependency()
|
| H A D | ModuleMap.cpp | 174 Optional<FileEntryRef> ModuleMap::findHeader( in findHeader() 181 auto GetFile = [&](StringRef Filename) -> Optional<FileEntryRef> { in findHeader() 190 auto GetFrameworkFile = [&]() -> Optional<FileEntryRef> { in findHeader() 254 if (Optional<FileEntryRef> File = in resolveHeader()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ModuleFile.h | 70 llvm::PointerIntPair<const FileEntryRef::MapEntry *, 2, unsigned> Val; 75 InputFile(FileEntryRef File, bool isOverridden = false, 95 return FileEntryRef(*P); in getFile()
|
| H A D | ModuleManager.h | 311 time_t ExpectedModTime, Optional<FileEntryRef> &File);
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | DirectoryLookup.h | 179 Optional<FileEntryRef> 188 Optional<FileEntryRef> DoFrameworkLookup(
|
| H A D | PPCallbacks.h | 60 virtual void FileSkipped(const FileEntryRef &SkippedFile, in FileSkipped() 314 Optional<FileEntryRef> File, 429 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped() 529 Optional<FileEntryRef> File,
|
| H A D | HeaderSearch.h | 412 Optional<FileEntryRef> LookupFile( 427 Optional<FileEntryRef> LookupSubframeworkHeader( 706 Optional<FileEntryRef>
|
| H A D | HeaderMap.h | 85 Optional<FileEntryRef> LookupFile(StringRef Filename, FileManager &FM) const;
|
| H A D | ModuleMap.h | 331 Optional<FileEntryRef>
|
| H A D | Preprocessor.h | 2014 Optional<FileEntryRef> 2265 Optional<FileEntryRef> LookupHeaderIncludeOrImport(
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | HeaderIncludeGen.cpp | 49 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, 188 void HeaderIncludesCallback::FileSkipped(const FileEntryRef &SkippedFile, const in FileSkipped()
|
| H A D | DependencyFile.cpp | 57 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped() 81 Optional<FileEntryRef> File, in HasInclude()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ModuleManager.cpp | 463 Optional<FileEntryRef> &File) { in lookupModuleFile() 470 Optional<FileEntryRef> FileOrErr = in lookupModuleFile()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | InclusionRewriter.cpp | 75 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, 174 void InclusionRewriter::FileSkipped(const FileEntryRef & /*SkippedFile*/, in FileSkipped() argument
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 159 bool canModifyFile(Optional<FileEntryRef> FE) { in canModifyFile() 1965 Optional<FileEntryRef> file = Ctx.getSourceManager().getFileEntryRefForID(FID); in HandleTranslationUnit() 2035 Optional<FileEntryRef> File; 2155 static std::string applyEditsToTemp(FileEntryRef FE, in applyEditsToTemp() 2228 typedef llvm::DenseMap<FileEntryRef, std::vector<EditEntry> > in getFileRemappingsFromFileList()
|