Home
last modified time | relevance | path

Searched refs:getFileLoc (Results 1 – 17 of 17) sorted by relevance

/freebsd-src/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp59 SourceLocation Loc = SM.getFileLoc(D->getLocation()); in print()
69 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
H A DIndexingContext.cpp116 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in importedModule()
368 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in handleDeclOccurrence()
496 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in shouldIndexMacroOccurrence()
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DNoSanitizeList.cpp58 containsFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category); in containsLocation()
H A DSourceLocation.cpp178 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc() function in FullSourceLoc
180 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); in getFileLoc()
H A DXRayLists.cpp75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)), in shouldImbueLocation()
H A DProfileList.cpp135 return isFileExcluded(SM.getFilename(SM.getFileLoc(Loc)), Kind); in isLocationExcluded()
H A DSourceManager.cpp1667 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
2269 SourceLocation FileStart = getFileLoc(getComposedLoc(ID, 0)); in noteSLocAddressSpaceUsage()
/freebsd-src/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp133 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
141 Callbacks->FileChanged(CurLexer->getFileLoc(), PPCallbacks::EnterFile, in EnterSourceFileWithLexer()
558 if (CurLexer->getFileLoc() == CodeCompletionFileLoc) in HandleEndOfFile()
564 Diag(CurLexer->getFileLoc(), diag::err_pp_through_header_not_seen) in HandleEndOfFile()
H A DPreprocessingRecord.cpp88 return SM.isInFileID(SM.getFileLoc(Loc), FID); in isPreprocessedEntityIfInFileID()
/freebsd-src/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h120 static SourceLocation getFileLoc(UIntTy ID) {
392 FullSourceLoc getFileLoc() const;
H A DSourceManager.h1156 return SourceLocation::getFileLoc(Entry->getOffset());
1164 return SourceLocation::getFileLoc(Entry->getOffset() +
1204 SourceLocation getFileLoc(SourceLocation Loc) const {
1264 return Entry->isFile() ? SourceLocation::getFileLoc(GlobalOffset)
1200 SourceLocation getFileLoc(SourceLocation Loc) const { getFileLoc() function
/freebsd-src/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h199 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc() function
/freebsd-src/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp183 auto FileLoc = SM.getFileLoc(Loc); in operator ()()
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp117 Loc = Loc.getFileLoc(); in emitDiagnostic()
H A DASTUnit.cpp1305 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation());
2453 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl()
/freebsd-src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp6490 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID))
7990 return Reader.getSourceManager().getFileLoc( in completeVisibleDeclsMap()
H A DASTWriter.cpp6313 SourceLocation FileLoc = SM.getFileLoc(Loc); in ResolvedOperatorDelete()