Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp310 R.InsertTextBefore(SMgr.getLocForStartOfFile(*I), os.str()); in GenerateHTML()
452 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), showHelpJavascript()); in FinalizeHTML()
454 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
458 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), in FinalizeHTML()
524 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
575 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in FinalizeHTML()
802 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
857 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
H A DIssueHash.cpp156 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
H A DPlistDiagnostics.cpp927 Lexer RawLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getMacroNameAndArgs()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPLexerChange.cpp83 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
91 CodeCompletionFileLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
268 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in diagnoseMissingHeaderInUmbrellaDir()
404 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
H A DScratchBuffer.cpp82 BufferStartLoc = SourceMgr.getLocForStartOfFile(FID); in AllocScratchBuffer()
H A DLexer.cpp136 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
161 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile->getBufferStart(), in Lexer()
209 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
335 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
472 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1251 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findNextToken()
H A DTokenLexer.cpp793 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in pasteTokens()
H A DModuleMap.cpp1972 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in parseModuleDecl()
2969 Lexer L(SourceMgr.getLocForStartOfFile(ID), MMapLangOpts, in parseModuleMapFile()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransforms.cpp152 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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DCommit.cpp26 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); in getFileLocation()
38 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); in getInsertFromRange()
H A DEditedSource.cpp388 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
459 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DTokenAnalyzer.cpp44 SourceLocation StartOfFile = SM.getLocForStartOfFile(ID); in Environment()
H A DFormatTokenLexer.cpp717 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), in resetLexer()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp210 const SourceLocation Point = SourceMgr.getLocForStartOfFile(MainFileID) in FindSymbol()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DHTMLRewrite.cpp282 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/freebsd-12.1/contrib/llvm/tools/clang/tools/clang-format/
H A DClangFormat.cpp185 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnostic.cpp270 SrcMgr.getLocForStartOfFile(Decomp.first) in dump()
290 SrcMgr.getLocForStartOfFile(ID) in dump()
H A DSourceManager.cpp1469 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp2351 FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2499 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2520 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2568 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp236 source_manager.getLocForStartOfFile(source_manager.getMainFileID()) in AddModule()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DReplacement.cpp77 SM.getLocForStartOfFile(ID). in apply()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSema.cpp842 SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in ActOnStartOfTranslationUnit()
993 Diag(getSourceManager().getLocForStartOfFile( in ActOnEndOfTranslationUnit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp403 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); in ConvertBackendLocation()
H A DCoverageMappingGen.cpp173 return SM.getLocForStartOfFile(SM.getFileID(Loc)); in getStartOfFileOrMacro()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManager.h1067 SourceLocation getLocForStartOfFile(FileID FID) const { in getLocForStartOfFile() function

12