Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
HDFileIndexRecord.cpp59 SourceLocation Loc = SM.getFileLoc(D->getLocation()); in print()
69 SourceLocation Loc = SM.getFileLoc(MI->getDefinitionLoc()); in print()
HDIndexingContext.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-13-stable/contrib/llvm-project/clang/lib/Basic/
HDNoSanitizeList.cpp58 containsFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category); in containsLocation()
HDSourceLocation.cpp178 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc() function in FullSourceLoc
180 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); in getFileLoc()
HDXRayLists.cpp75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)), in shouldImbueLocation()
HDProfileList.cpp135 return isFileExcluded(SM.getFilename(SM.getFileLoc(Loc)), Kind); in isLocationExcluded()
HDSourceManager.cpp1667 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
2269 SourceLocation FileStart = getFileLoc(getComposedLoc(ID, 0)); in noteSLocAddressSpaceUsage()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
HDPPLexerChange.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()
HDPreprocessingRecord.cpp88 return SM.isInFileID(SM.getFileLoc(Loc), FID); in isPreprocessedEntityIfInFileID()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
HDSourceLocation.h120 static SourceLocation getFileLoc(UIntTy ID) {
392 FullSourceLoc getFileLoc() const;
HDSourceManager.h1156 return SourceLocation::getFileLoc(Entry->getOffset()); in getLocForStartOfFile()
1164 return SourceLocation::getFileLoc(Entry->getOffset() + in getLocForEndOfFile()
1204 SourceLocation getFileLoc(SourceLocation Loc) const { in getFileLoc() function
1264 return Entry->isFile() ? SourceLocation::getFileLoc(GlobalOffset) in getComposedLoc()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
HDLexer.h199 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc() function
/freebsd-13-stable/contrib/llvm-project/clang/lib/ExtractAPI/
HDExtractAPIConsumer.cpp183 auto FileLoc = SM.getFileLoc(Loc); in operator ()()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
HDDiagnosticRenderer.cpp117 Loc = Loc.getFileLoc(); in emitDiagnostic()
HDASTUnit.cpp1305 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
2453 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl()
/freebsd-13-stable/contrib/llvm-project/clang/lib/InstallAPI/
HDVisitor.cpp111 auto FileLoc = SrcMgr.getFileLoc(Loc); in getAccessForDecl()
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCoverageMappingGen.cpp395 Loc = SM.getFileLoc(Loc); in gatherFileIDs()
397 Region.setEndLoc(SM.getFileLoc(Region.getEndLoc())); in gatherFileIDs()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReader.cpp6490 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID)) in isPreprocessedEntityInFileID()
7990 return Reader.getSourceManager().getFileLoc( in getLocation()
HDASTWriter.cpp6313 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile()