Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceLocation.cpp156 FullSourceLoc FullSourceLoc::getFileLoc() const { in getFileLoc() function in FullSourceLoc
158 return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); in getFileLoc()
H A DSanitizerBlacklist.cpp49 isBlacklistedFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category); in isBlacklistedLocation()
H A DXRayLists.cpp67 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)), in shouldImbueLocation()
H A DSourceManager.cpp1698 SourceLocation FileLoc = SourceLocation::getFileLoc(Entry.getOffset()); in translateLineCol()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPLexerChange.cpp119 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
121 Callbacks->FileChanged(CurLexer->getFileLoc(), in EnterSourceFileWithLexer()
500 if (CurLexer->getFileLoc() == CodeCompletionFileLoc) in HandleEndOfFile()
506 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-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h117 static SourceLocation getFileLoc(unsigned ID) { in getFileLoc() function
366 FullSourceLoc getFileLoc() const;
H A DSourceManager.h1074 return SourceLocation::getFileLoc(FileOffset); in getLocForStartOfFile()
1086 return SourceLocation::getFileLoc(FileOffset + getFileIDSize(FID)); in getLocForEndOfFile()
1127 SourceLocation getFileLoc(SourceLocation Loc) const { in getFileLoc() function
1188 return Entry.isFile() ? SourceLocation::getFileLoc(GlobalOffset) in getComposedLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexingContext.cpp108 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in importedModule()
353 FileID FID = SM.getFileID(SM.getFileLoc(Loc)); in handleDeclOccurrence()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DLexer.h175 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp119 Loc = Loc.getFileLoc(); in emitDiagnostic()
H A DASTUnit.cpp1246 SourceLocation FileLoc = SM.getFileLoc(InDiag.getLocation()); in makeStandaloneDiagnostic()
2403 SourceLocation FileLoc = SM.getFileLoc(Loc); in addFileLevelDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp5661 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID)) in isPreprocessedEntityInFileID()
7478 return Reader.getSourceManager().getFileLoc( in getLocation()
H A DASTWriter.cpp5576 SourceLocation FileLoc = SM.getFileLoc(Loc); in associateDeclWithFile()