Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp57 SourceLocation Loc = SM.getFileLoc(D->getLocation()); in print()
67 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
H A DIndexingContext.cpp128 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in importedModule()
380 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in handleDeclOccurrence()
508 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in shouldIndexMacroOccurrence()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp176 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc() function in FullSourceLoc
178 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); in getFileLoc()
H A DXRayLists.cpp75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)), in shouldImbueLocation()
H A DNoSanitizeList.cpp73 containsFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category); in containsLocation()
H A DProfileList.cpp135 return isFileExcluded(SM.getFilename(SM.getFileLoc(Loc)), Kind); in isLocationExcluded()
H A DSourceManager.cpp1672 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
2267 SourceLocation FileStart = getFileLoc(getComposedLoc(ID, 0)); in noteSLocAddressSpaceUsage()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp126 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
134 Callbacks->FileChanged(CurLexer->getFileLoc(), PPCallbacks::EnterFile, in EnterSourceFileWithLexer()
551 if (CurLexer->getFileLoc() == CodeCompletionFileLoc) in HandleEndOfFile()
557 Diag(CurLexer->getFileLoc(), diag::err_pp_through_header_not_seen) in HandleEndOfFile()
H A DPreprocessingRecord.cpp85 return SM.isInFileID(SM.getFileLoc(Loc), FID); in isPreprocessedEntityIfInFileID()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h122 static SourceLocation getFileLoc(UIntTy ID) {
394 FullSourceLoc getFileLoc() const;
H A DSourceManager.h1160 return SourceLocation::getFileLoc(Entry->getOffset()); in getLocForStartOfFile()
1168 return SourceLocation::getFileLoc(Entry->getOffset() + in getLocForEndOfFile()
1208 SourceLocation getFileLoc(SourceLocation Loc) const { in getFileLoc() function
1268 return Entry->isFile() ? SourceLocation::getFileLoc(GlobalOffset) in getComposedLoc()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h199 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc() function
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp182 auto FileLoc = SM.getFileLoc(Loc); in operator ()()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp115 Loc = Loc.getFileLoc(); in emitDiagnostic()
H A DASTUnit.cpp1306 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
2467 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp110 auto FileLoc = SrcMgr.getFileLoc(Loc); in getAccessForDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp393 Loc = SM.getFileLoc(Loc); in gatherFileIDs()
395 Region.setEndLoc(SM.getFileLoc(Region.getEndLoc())); in gatherFileIDs()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp6829 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID)) in isPreprocessedEntityInFileID()
8497 return Reader.getSourceManager().getFileLoc( in getLocation()
H A DASTWriter.cpp6968 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile()