Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DFileEntry.h63 const FileEntry &getFileEntry() const { in getFileEntry() function
79 return &LHS.getFileEntry() == &RHS.getFileEntry();
82 return LHS == &RHS.getFileEntry();
85 return &LHS.getFileEntry() == RHS;
100 return llvm::hash_value(&Ref.getFileEntry()); in hash_value()
148 operator const FileEntry *() const { return &getFileEntry(); }
317 return hasValue() ? &getValue().getFileEntry() : nullptr;
386 bool FileEntryRef::isValid() const { return getFileEntry().isValid(); }
388 off_t FileEntryRef::getSize() const { return getFileEntry().getSize(); }
390 unsigned FileEntryRef::getUID() const { return getFileEntry().getUID(); }
[all …]
H A DSourceLocation.h410 const FileEntry *getFileEntry() const;
H A DSourceManager.h960 overrideFileContents(&SourceFile.getFileEntry(), std::move(Buffer)); in overrideFileContents()
1594 return translateFile(&SourceFile.getFileEntry()); in translateFile()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp367 &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 …]
H A DPPDirectives.cpp793 if ((FileEnt = ISEntry.ThePPLexer->getFileEntry())) in LookupFile()
814 if (&FE->getFileEntry() == FromFile) { in LookupFile()
832 Filename, &FE->getFileEntry()); in LookupFile()
841 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile()
848 Filename, &FE->getFileEntry()); in LookupFile()
856 if ((CurFileEnt = ISEntry.ThePPLexer->getFileEntry())) { in LookupFile()
863 FilenameLoc, Filename, &FE->getFileEntry()); in LookupFile()
1959 if (File && isPCHThroughHeader(&File->getFileEntry())) in HandleHeaderIncludeOrImport()
1977 HeaderInfo.getFileInfo(&File->getFileEntry()).NumIncludes) in HandleHeaderIncludeOrImport()
2053 FileCharacter = std::max(HeaderInfo.getFileDirFlavor(&File->getFileEntry()), in HandleHeaderIncludeOrImport()
[all …]
H A DPreprocessorLexer.cpp50 const FileEntry *PreprocessorLexer::getFileEntry() const { in getFileEntry() function in PreprocessorLexer
H A DPragma.cpp412 HeaderInfo.MarkFileIncludeOnce(getCurrentFileLexer()->getFileEntry()); in HandlePragmaOnce()
473 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
531 const FileEntry *CurFile = getCurrentFileLexer()->getFileEntry(); in HandlePragmaDependency()
H A DPPLexerChange.cpp333 if (const FileEntry *FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
H A DPPMacroExpansion.cpp1237 PP.getHeaderSearchInfo().getFileDirFlavor(&File->getFileEntry()); in EvaluateHasIncludeCommon()
1274 LookupFromFile = PP.getCurrentLexer()->getFileEntry(); in EvaluateHasIncludeNext()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DFileManager.cpp199 return &Result->getFileEntry(); in getFile()
354 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN()
362 return &getVirtualFileRef(Filename, Size, ModificationTime).getFileEntry(); in getVirtualFile()
459 const FileEntry &VFE = VF.getFileEntry(); in getBypassFile()
H A DSourceLocation.cpp221 const FileEntry *FullSourceLoc::getFileEntry() const { in getFileEntry() function in FullSourceLoc
H A DSourceManager.cpp711 assert(isFileOverridden(&File.getFileEntry())); in bypassFileContentsOverride()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPreprocessorLexer.h159 const FileEntry *getFileEntry() const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp266 *P.asLocation().getExpansionLoc().getFileEntry(), in createThreadFlow()
297 *Diag.getLocation().asLocation().getExpansionLoc().getFileEntry(), in createResult()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DFrontendActions.cpp301 {std::string(Name), std::string(Name), &FE->getFileEntry()}); in BeginSourceFileAction()
H A DTextDiagnostic.cpp801 const FileEntry *FE = Loc.getFileEntry(); in emitDiagnosticLoc()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp496 FE = const_cast<FileEntry *>(&File->getFileEntry()); in importedModule()
H A DCIndex.cpp8456 return const_cast<FileEntry *>(&File->getFileEntry()); in clang_Module_getASTFile()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCodeComplete.cpp9518 auto *CurFile = PP.getCurrentFileLexer()->getFileEntry(); in CodeCompleteIncludedFile()