Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp417 R.InsertTextBefore(SMgr.getLocForStartOfFile(*I), os.str()); in GenerateHTML()
566 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), showHelpJavascript()); in FinalizeHTML()
568 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
571 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
575 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
642 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
691 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
1039 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
1094 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
1206 R.InsertTextBefore(R.getSourceMgr().getLocForStartOfFile(BugFileID),
/freebsd/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()
439 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
H A DLexer.cpp186 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
215 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile.getBufferStart(), in Lexer()
264 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
397 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
534 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1343 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findNextToken()
1356 const auto StartOfFile = SM.getLocForStartOfFile(SM.getFileID(Loc)); in findPreviousToken()
H A DTokenLexer.cpp831 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in pasteTokens()
H A DModuleMapFile.cpp154 Lexer L(SM.getLocForStartOfFile(ID), LOpts, Buffer->getBufferStart(), in parseModuleMap()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp24 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); in getFileLocation()
36 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); in getInsertFromRange()
H A DEditedSource.cpp385 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
456 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp120 SourceLocation NewLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in Parse()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp63 SourceLocation StartOfFile = Env->SM.getLocForStartOfFile(Env->ID); in make()
H A DFormatTokenLexer.cpp1583 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), LangOpts, in resetLexer()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp154 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp244 const SourceLocation Point = SourceMgr.getLocForStartOfFile(MainFileID) in FindSymbol()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp353 !shouldRecordNewFile(NewFileType, SM.getLocForStartOfFile(PrevFID), SM)) in FileChanged()
H A DFrontendActions.cpp1208 SM.getLocForStartOfFile(SM.getMainFileID()))) { in ExecuteAction()
1235 SourceLocation FileStart = SM.getLocForStartOfFile(MainFileID); in ExecuteAction()
H A DASTUnit.cpp2415 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2561 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2582 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2630 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp234 SM.getLocForStartOfFile(FileOffset.first), LangOpts, File.begin(), in getEntityEndLoc()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp308 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp270 SrcMgr.getLocForStartOfFile(Decomp.first) in dump()
291 SrcMgr.getLocForStartOfFile(ID) in dump()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp76 SM.getLocForStartOfFile(ID). in apply()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp351 source_manager.getLocForStartOfFile(source_manager.getMainFileID()) in AddModule()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp193 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleStartOfHeaderUnit()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp590 Lexer L(SM.getLocForStartOfFile(FR.file()), LO, SrcBuffer.data(), in tokenize()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp387 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); in ConvertBackendLocation()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1158 SourceLocation getLocForStartOfFile(FileID FID) const { in getLocForStartOfFile() function

12