/external/llvm-project/clang/include/clang/Basic/ |
D | FileEntry.h | 37 class FileEntryRef; variable 46 class OptionalStorage<clang::FileEntryRef, /*is_trivially_copyable*/ true>; 57 class FileEntryRef { 74 friend bool operator==(const FileEntryRef &LHS, const FileEntryRef &RHS) { 77 friend bool operator==(const FileEntry *LHS, const FileEntryRef &RHS) { 80 friend bool operator==(const FileEntryRef &LHS, const FileEntry *RHS) { 83 friend bool operator!=(const FileEntryRef &LHS, const FileEntryRef &RHS) { 86 friend bool operator!=(const FileEntry *LHS, const FileEntryRef &RHS) { 89 friend bool operator!=(const FileEntryRef &LHS, const FileEntry *RHS) { 95 friend llvm::hash_code hash_value(FileEntryRef Ref) { in hash_value() [all …]
|
D | FileManager.h | 92 llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>, llvm::BumpPtrAllocator> 99 std::unique_ptr<llvm::StringMap<llvm::ErrorOr<FileEntryRef::MapValue>>> 216 llvm::Expected<FileEntryRef> getFileRef(StringRef Filename, 221 llvm::Optional<FileEntryRef> getOptionalFileRef(StringRef Filename, 242 FileEntryRef getVirtualFileRef(StringRef Filename, off_t Size, 256 llvm::Optional<FileEntryRef> getBypassFile(FileEntryRef VFE);
|
D | Module.h | 136 llvm::PointerUnion<const FileEntryRef::MapEntry *, 165 Optional<FileEntryRef> ASTFile; 536 void setASTFile(Optional<FileEntryRef> File) { in setASTFile() 549 if (auto *ME = Umbrella.dyn_cast<const FileEntryRef::MapEntry *>()) in getUmbrellaHeader() 550 return Header{UmbrellaAsWritten, FileEntryRef(*ME)}; in getUmbrellaHeader()
|
D | SourceManager.h | 873 FileID createFileID(FileEntryRef SourceFile, SourceLocation IncludePos, 988 Optional<FileEntryRef> bypassFileContentsOverride(FileEntryRef File);
|
/external/llvm-project/clang/unittests/Basic/ |
D | FileEntryTest.cpp | 19 using FileMap = StringMap<llvm::ErrorOr<FileEntryRef::MapValue>>; 42 FileEntryRef addFile(StringRef Name) { in addFile() 44 return FileEntryRef( in addFile() 45 *Files.insert({Name, FileEntryRef::MapValue(*FEs.back().get(), DR)}) in addFile() 48 FileEntryRef addFileAlias(StringRef Name, FileEntryRef Base) { in addFileAlias() 49 return FileEntryRef( in addFileAlias() 52 {Name, FileEntryRef::MapValue( in addFileAlias() 58 TEST(FileEntryTest, FileEntryRef) { in TEST() argument 60 FileEntryRef R1 = Refs.addFile("1"); in TEST() 61 FileEntryRef R2 = Refs.addFile("2"); in TEST() [all …]
|
/external/llvm-project/clang/lib/Basic/ |
D | FileManager.cpp | 203 llvm::Expected<FileEntryRef> 216 FileEntryRef::MapValue Value = *SeenFileInsertResult.first->second; in getFileRef() 218 return FileEntryRef(*SeenFileInsertResult.first); in getFileRef() 219 return FileEntryRef(*reinterpret_cast<const FileEntryRef::MapEntry *>( in getFileRef() 275 NamedFileEnt->second = FileEntryRef::MapValue(UFE, DirInfo); in getFileRef() 281 .insert({Status.getName(), FileEntryRef::MapValue(UFE, DirInfo)}) in getFileRef() 290 NamedFileEnt->second = FileEntryRef::MapValue(Redirection); in getFileRef() 296 FileEntryRef ReturnedRef(*NamedFileEnt); in getFileRef() 346 FileEntryRef FileManager::getVirtualFileRef(StringRef Filename, off_t Size, in getVirtualFileRef() 354 FileEntryRef::MapValue Value = *NamedFileEnt.second; in getVirtualFileRef() [all …]
|
/external/llvm-project/clang/lib/Lex/ |
D | PPCallbacks.cpp | 18 bool IsAngled, Optional<FileEntryRef> File, in HasInclude() 25 bool IsAngled, Optional<FileEntryRef> File, in HasInclude()
|
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()
|
D | PPDirectives.cpp | 721 Optional<FileEntryRef> Preprocessor::LookupFile( in LookupFile() 782 while (Optional<FileEntryRef> FE = HeaderInfo.LookupFile( in LookupFile() 800 Optional<FileEntryRef> FE = HeaderInfo.LookupFile( in LookupFile() 818 if (Optional<FileEntryRef> FE = HeaderInfo.LookupSubframeworkHeader( in LookupFile() 833 if (Optional<FileEntryRef> FE = HeaderInfo.LookupSubframeworkHeader( in LookupFile() 1724 Optional<FileEntryRef> Preprocessor::LookupHeaderIncludeOrImport( in LookupHeaderIncludeOrImport() 1732 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() 1750 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() 1769 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() 1800 Optional<FileEntryRef> File = LookupFile( in LookupHeaderIncludeOrImport() [all …]
|
D | HeaderMap.cpp | 199 Optional<FileEntryRef> HeaderMap::LookupFile(StringRef Filename, in LookupFile()
|
/external/llvm-project/clang/include/clang/Serialization/ |
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()
|
D | ModuleManager.h | 311 time_t ExpectedModTime, Optional<FileEntryRef> &File);
|
/external/llvm-project/clang/include/clang/Lex/ |
D | DirectoryLookup.h | 179 Optional<FileEntryRef> 188 Optional<FileEntryRef> DoFrameworkLookup(
|
D | PPCallbacks.h | 60 virtual void FileSkipped(const FileEntryRef &SkippedFile, in FileSkipped() 310 Optional<FileEntryRef> File, 393 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped() 493 Optional<FileEntryRef> File,
|
D | HeaderMap.h | 80 Optional<FileEntryRef> LookupFile(StringRef Filename, FileManager &FM) const;
|
D | HeaderSearch.h | 401 Optional<FileEntryRef> LookupFile( 416 Optional<FileEntryRef> LookupSubframeworkHeader( 691 Optional<FileEntryRef>
|
D | ModuleMap.h | 331 Optional<FileEntryRef> 651 void setUmbrellaHeader(Module *Mod, FileEntryRef UmbrellaHeader,
|
/external/llvm-project/clang/lib/Frontend/ |
D | DependencyFile.cpp | 57 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped() 81 Optional<FileEntryRef> File, in HasInclude()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousIncludeCheck.cpp | 97 Optional<FileEntryRef> File = in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ExpandModularHeadersPPCallbacks.h | 93 void HasInclude(SourceLocation Loc, StringRef, bool, Optional<FileEntryRef> ,
|
D | ExpandModularHeadersPPCallbacks.cpp | 226 bool, Optional<FileEntryRef>, in HasInclude() argument
|
/external/llvm-project/clang/lib/Serialization/ |
D | ModuleManager.cpp | 463 Optional<FileEntryRef> &File) { in lookupModuleFile() 470 Optional<FileEntryRef> FileOrErr = in lookupModuleFile()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 75 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, 174 void InclusionRewriter::FileSkipped(const FileEntryRef & /*SkippedFile*/, in FileSkipped() argument
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPCallbacksTracker.h | 92 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok,
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | IndexAction.cpp | 107 void FileSkipped(const FileEntryRef &SkippedFile, const Token &FilenameTok, in FileSkipped()
|