Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp419 R.InsertTextBefore(SMgr.getLocForStartOfFile(*I), os.str()); in GenerateHTML()
568 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), showHelpJavascript()); in FinalizeHTML()
570 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
573 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
577 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
644 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
693 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
1041 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
1096 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
1208 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.cpp82 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
90 CodeCompletionFileLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
446 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
H A DLexer.cpp187 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
216 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile.getBufferStart(), in Lexer()
265 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
398 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
535 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1346 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findNextToken()
H A DTokenLexer.cpp831 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in pasteTokens()
H A DModuleMap.cpp2140 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in parseModuleDecl()
3144 Lexer L(SourceMgr.getLocForStartOfFile(ID), MMapLangOpts, in parseModuleMapFile()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp151 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
399 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
480 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in addPropertyAttribute()
H A DObjCMT.cpp2164 SM.getLocForStartOfFile(FID).getLocWithOffset(Entry.Offset); in applyEditsToTemp()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp158 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnalyzer.cpp66 SourceLocation StartOfFile = Env->SM.getLocForStartOfFile(Env->ID); in make()
H A DFormatTokenLexer.cpp1452 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), LangOpts, in resetLexer()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp387 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
458 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp188 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleStartOfHeaderUnit()
337 ? SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()) in ActOnModuleDecl()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp327 SourceLocation NewLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in Parse()
/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/Basic/
H A DDiagnostic.cpp281 SrcMgr.getLocForStartOfFile(Decomp.first) in dump()
301 SrcMgr.getLocForStartOfFile(ID) in dump()
H A DSourceManager.cpp1531 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp1180 SM.getLocForStartOfFile(SM.getMainFileID()))) { in ExecuteAction()
1207 SourceLocation FileStart = SM.getLocForStartOfFile(MainFileID); in ExecuteAction()
H A DASTUnit.cpp2401 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2549 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2570 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2618 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp309 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp293 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp350 source_manager.getLocForStartOfFile(source_manager.getMainFileID()) in AddModule()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenAction.cpp425 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); in ConvertBackendLocation()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp592 Lexer L(SM.getLocForStartOfFile(FR.file()), LO, SrcBuffer.data(), in tokenize()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1154 SourceLocation getLocForStartOfFile(FileID FID) const { in getLocForStartOfFile() function

12