Home
last modified time | relevance | path

Searched refs:getLocForStartOfFile (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp421 R.InsertTextBefore(SMgr.getLocForStartOfFile(*I), os.str()); in GenerateHTML()
570 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), showHelpJavascript()); in FinalizeHTML()
572 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
575 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
579 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
646 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
695 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
1043 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
1098 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
1210 R.InsertTextBefore(R.getSourceMgr().getLocForStartOfFile(BugFileID),
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DScratchBuffer.cpp81 BufferStartLoc = SourceMgr.getLocForStartOfFile(FID); in AllocScratchBuffer()
H A DPPLexerChange.cpp82 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
90 CodeCompletionFileLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
447 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
H A DLexer.cpp142 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
171 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile.getBufferStart(), in Lexer()
220 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
353 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
490 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1301 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findNextToken()
H A DTokenLexer.cpp831 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in pasteTokens()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp150 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
398 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
479 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in addPropertyAttribute()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp25 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); in getFileLocation()
37 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); in getInsertFromRange()
H A DEditedSource.cpp387 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
458 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp77 return SrcMgr.getLocForStartOfFile(KnownBuffer->second) in mapLocation()
H A DDiagnostic.cpp281 SrcMgr.getLocForStartOfFile(Decomp.first) in dump()
301 SrcMgr.getLocForStartOfFile(ID) in dump()
/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp66 SourceLocation StartOfFile = Env->SM.getLocForStartOfFile(Env->ID); in make()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp158 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp300 !shouldRecordNewFile(NewFileType, SM.getLocForStartOfFile(PrevFID), SM)) in FileChanged()
H A DFrontendActions.cpp1144 SM.getLocForStartOfFile(SM.getMainFileID()))) { in ExecuteAction()
1171 SourceLocation FileStart = SM.getLocForStartOfFile(MainFileID); in ExecuteAction()
H A DASTUnit.cpp2390 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2538 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2559 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2607 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp251 const SourceLocation Point = SourceMgr.getLocForStartOfFile(MainFileID) in FindSymbol()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp102 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleStartOfHeaderUnit()
251 ? SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()) in ActOnModuleDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp327 SourceLocation NewLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in Parse()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp185 SM.getLocForStartOfFile(FileOffset.first), LangOpts, File.begin(), in getEntityEndLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp281 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp76 SM.getLocForStartOfFile(ID). in apply()
/freebsd-14.2/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp284 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp361 source_manager.getLocForStartOfFile(source_manager.getMainFileID()) in AddModule()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1150 SourceLocation getLocForStartOfFile(FileID FID) const { in getLocForStartOfFile() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp591 Lexer L(SM.getLocForStartOfFile(FR.file()), LO, SrcBuffer.data(), in tokenize()

12