Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp359 R.InsertTextBefore(SMgr.getLocForStartOfFile(*I), os.str()); in GenerateHTML()
501 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), showHelpJavascript()); in FinalizeHTML()
503 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
507 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
573 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
625 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
947 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
1002 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DScratchBuffer.cpp81 BufferStartLoc = SourceMgr.getLocForStartOfFile(FID); in AllocScratchBuffer()
H A DPPLexerChange.cpp81 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
89 CodeCompletionFileLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
447 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
H A DLexer.cpp138 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
163 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile.getBufferStart(), in Lexer()
211 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
346 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
483 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1276 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findNextToken()
H A DTokenLexer.cpp832 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in pasteTokens()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp152 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
400 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
481 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in addPropertyAttribute()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp43 SourceLocation StartOfFile = SM.getLocForStartOfFile(ID); in Environment()
H A DFormatTokenLexer.cpp1076 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), in resetLexer()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp157 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
/freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp250 SourceLocation NewLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in Parse()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp252 const SourceLocation Point = SourceMgr.getLocForStartOfFile(MainFileID) in FindSymbol()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp141 SM.getLocForStartOfFile(FileOffset.first), LangOpts, File.begin(), in getEntityEndLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp281 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp282 SrcMgr.getLocForStartOfFile(Decomp.first) in dump()
302 SrcMgr.getLocForStartOfFile(ID) in dump()
/freebsd-13.1/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp251 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2353 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2501 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2522 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2570 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
H A DFrontendActions.cpp976 SM.getLocForStartOfFile(SM.getMainFileID()))) { in ExecuteAction()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp150 ? SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()) in ActOnModuleDecl()
H A DSema.cpp1005 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in ActOnStartOfTranslationUnit()
1194 Diag(getSourceManager().getLocForStartOfFile( in ActOnEndOfTranslationUnit()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp76 SM.getLocForStartOfFile(ID). in apply()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp301 source_manager.getLocForStartOfFile(source_manager.getMainFileID()) in AddModule()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp546 Lexer L(SM.getLocForStartOfFile(FR.file()), LO, SrcBuffer.data(), in tokenize()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp439 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); in ConvertBackendLocation()

12