/external/llvm-project/clang/unittests/Basic/ |
D | FileEntryTest.cpp | 53 const_cast<FileEntry &>(Base.getFileEntry()), DR)}) in addFileAlias() 68 EXPECT_NE(&R1.getFileEntry(), &R2.getFileEntry()); in TEST() 69 EXPECT_EQ(&R1.getFileEntry(), &R1Also.getFileEntry()); in TEST() 72 EXPECT_EQ(CE1, &R1.getFileEntry()); in TEST() 90 EXPECT_EQ(CE1, &M1->getFileEntry()); in TEST() 99 EXPECT_EQ(R1, &R1.getFileEntry()); in TEST() 100 EXPECT_EQ(&R1.getFileEntry(), R1); in TEST() 102 EXPECT_NE(R1, &R2.getFileEntry()); in TEST() 103 EXPECT_NE(&R2.getFileEntry(), R1); in TEST() 108 EXPECT_EQ(M1, &R1.getFileEntry()); in TEST() [all …]
|
D | FileManagerTest.cpp | 273 EXPECT_EQ((f1 ? *f1 : nullptr), &r1->getFileEntry()); in TEST_F() 274 EXPECT_EQ((f2 ? *f2 : nullptr), &r2->getFileEntry()); in TEST_F() 307 EXPECT_EQ("dir/f1.cpp", F1->getFileEntry().getName()); in TEST_F() 310 EXPECT_EQ(&F1->getFileEntry(), &F1Alias->getFileEntry()); in TEST_F() 311 EXPECT_EQ(&F1->getFileEntry(), &F1Alias2->getFileEntry()); in TEST_F() 326 EXPECT_EQ("dir/f2.cpp", F2->getFileEntry().getName()); in TEST_F() 329 EXPECT_EQ(&F2->getFileEntry(), &F2Alias->getFileEntry()); in TEST_F() 330 EXPECT_EQ(&F2->getFileEntry(), &F2Alias2->getFileEntry()); in TEST_F() 383 EXPECT_EQ(&F1->getFileEntry(), *F1); in TEST_F() 384 EXPECT_EQ(*F1, &F1->getFileEntry()); in TEST_F() [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | FileEntry.h | 60 const FileEntry &getFileEntry() const { in getFileEntry() function 75 return &LHS.getFileEntry() == &RHS.getFileEntry(); 78 return LHS == &RHS.getFileEntry(); 81 return &LHS.getFileEntry() == RHS; 96 return llvm::hash_value(&Ref.getFileEntry()); in hash_value() 144 operator const FileEntry *() const { return &getFileEntry(); } 313 return hasValue() ? &getValue().getFileEntry() : nullptr; 379 bool FileEntryRef::isValid() const { return getFileEntry().isValid(); } 381 off_t FileEntryRef::getSize() const { return getFileEntry().getSize(); } 383 unsigned FileEntryRef::getUID() const { return getFileEntry().getUID(); } [all …]
|
D | SourceLocation.h | 410 const FileEntry *getFileEntry() const;
|
/external/llvm-project/clang/lib/Lex/ |
D | HeaderSearch.cpp | 367 &File->getFileEntry(), Dir ? Dir : File->getFileEntry().getDir(), in getFileAndSuggestModule() 613 StringRef FrameworkPath = File->getFileEntry().getDir()->getName(); in DoFrameworkLookup() 637 &File->getFileEntry(), FrameworkPath, RequestingModule, in DoFrameworkLookup() 641 if (!HS.findUsableModuleForHeader(&File->getFileEntry(), getDir(), in DoFrameworkLookup() 841 HeaderFileInfo &ToHFI = getFileInfo(&FE->getFileEntry()); in LookupFile() 858 &FE->getFileEntry()); in LookupFile() 946 HeaderFileInfo &HFI = getFileInfo(&File->getFileEntry()); in LookupFile() 976 if (checkMSVCHeaderSearch(Diags, MSFE ? &MSFE->getFileEntry() : nullptr, in LookupFile() 977 &File->getFileEntry(), IncludeLoc)) { in LookupFile() 987 &File->getFileEntry(), isAngled, FoundByHeaderMap); in LookupFile() [all …]
|
D | PreprocessorLexer.cpp | 50 const FileEntry *PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
|
D | PPDirectives.cpp | 769 if ((FileEnt = ISEntry.ThePPLexer->getFileEntry())) in LookupFile() 790 if (&FE->getFileEntry() == FromFile) { in LookupFile() 808 Filename, &FE->getFileEntry()); in LookupFile() 817 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile() 824 Filename, &FE->getFileEntry()); in LookupFile() 832 if ((CurFileEnt = ISEntry.ThePPLexer->getFileEntry())) { in LookupFile() 839 FilenameLoc, Filename, &FE->getFileEntry()); in LookupFile() 1935 if (File && isPCHThroughHeader(&File->getFileEntry())) in HandleHeaderIncludeOrImport() 1953 HeaderInfo.getFileInfo(&File->getFileEntry()).NumIncludes) in HandleHeaderIncludeOrImport() 2029 FileCharacter = std::max(HeaderInfo.getFileDirFlavor(&File->getFileEntry()), in HandleHeaderIncludeOrImport() [all …]
|
D | Pragma.cpp | 412 HeaderInfo.MarkFileIncludeOnce(getCurrentFileLexer()->getFileEntry()); in HandlePragmaOnce() 473 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader() 531 const FileEntry *CurFile = getCurrentFileLexer()->getFileEntry(); in HandlePragmaDependency()
|
D | PPLexerChange.cpp | 333 if (const FileEntry *FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
|
D | PPMacroExpansion.cpp | 1235 PP.getHeaderSearchInfo().getFileDirFlavor(&File->getFileEntry()); in EvaluateHasIncludeCommon() 1272 LookupFromFile = PP.getCurrentLexer()->getFileEntry(); in EvaluateHasIncludeNext()
|
/external/clang/lib/Lex/ |
D | PreprocessorLexer.cpp | 56 const FileEntry *PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
|
D | Pragma.cpp | 364 HeaderInfo.MarkFileIncludeOnce(getCurrentFileLexer()->getFileEntry()); in HandlePragmaOnce() 430 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader() 487 const FileEntry *CurFile = getCurrentFileLexer()->getFileEntry(); in HandlePragmaDependency()
|
D | PPDirectives.cpp | 791 if ((FileEnt = ISEntry.ThePPLexer->getFileEntry())) in LookupFile() 838 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile() 855 if ((CurFileEnt = ISEntry.ThePPLexer->getFileEntry())) { in LookupFile() 2053 LookupFromFile = CurPPLexer->getFileEntry(); in HandleIncludeNextDirective()
|
D | PPLexerChange.cpp | 304 if (const FileEntry *FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
|
/external/clang/include/clang/Lex/ |
D | PreprocessorLexer.h | 166 const FileEntry *getFileEntry() const;
|
/external/llvm-project/clang/include/clang/Lex/ |
D | PreprocessorLexer.h | 159 const FileEntry *getFileEntry() const;
|
/external/llvm-project/clang/lib/Basic/ |
D | FileManager.cpp | 199 return &Result->getFileEntry(); in getFile() 343 return &getVirtualFileRef(Filename, Size, ModificationTime).getFileEntry(); in getVirtualFile() 437 const FileEntry &VFE = VF.getFileEntry(); in getBypassFile()
|
D | SourceLocation.cpp | 213 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry() function in FullSourceLoc
|
D | SourceManager.cpp | 542 SrcMgr::ContentCache &IR = getOrCreateContentCache(&SourceFile.getFileEntry(), in createFileID() 703 assert(isFileOverridden(&File.getFileEntry())); in bypassFileContentsOverride() 710 (void)getOrCreateContentCache(&BypassFile->getFileEntry()); in bypassFileContentsOverride()
|
/external/llvm-project/clang/unittests/Frontend/ |
D | ASTUnitTest.cpp | 150 &File->getFileEntry())); in TEST_F()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SarifDiagnostics.cpp | 264 *P.asLocation().getExpansionLoc().getFileEntry(), in createThreadFlow() 295 *Diag.getLocation().asLocation().getExpansionLoc().getFileEntry(), in createResult()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | IndexAction.cpp | 110 auto URI = toURI(&SkippedFile.getFileEntry()); in FileSkipped()
|
/external/llvm-project/clang-tools-extra/pp-trace/ |
D | PPCallbacksTracker.cpp | 120 appendArgument("ParentFile", &SkippedFile.getFileEntry()); in FileSkipped()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ParsedAST.cpp | 214 const FileEntry *FE = File ? &File->getFileEntry() : nullptr; in replay()
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 866 if (File.getFileEntry().isNamedPipe()) { in InitializeSourceManager() 868 FileMgr.getBufferForFile(&File.getFileEntry(), /*isVolatile=*/true); in InitializeSourceManager()
|