Home
last modified time | relevance | path

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

/trueos/contrib/llvm/tools/clang/lib/Lex/
HDPPLexerChange.cpp91 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
99 CodeCompletionFileLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
150 SourceLocation EnterLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFileWithPTH()
316 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
420 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
458 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
HDScratchBuffer.cpp69 BufferStartLoc = SourceMgr.getLocForStartOfFile(FID); in AllocScratchBuffer()
HDLexer.cpp124 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
159 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) { in Lexer()
205 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
323 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
461 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1199 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findLocationAfterToken()
HDPTHLexer.cpp43 FileStartLoc = PP.getSourceManager().getLocForStartOfFile(FID); in PTHLexer()
HDTokenLexer.cpp589 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in PasteTokens()
/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDHTMLDiagnostics.cpp198 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
234 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
418 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
473 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
/trueos/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransforms.cpp158 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
409 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
492 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in addPropertyAttribute()
/trueos/contrib/llvm/tools/clang/lib/Edit/
HDCommit.cpp20 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); in getFileLocation()
32 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); in getInsertFromRange()
HDEditedSource.cpp310 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
378 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
/trueos/contrib/llvm/tools/clang/lib/Rewrite/Core/
HDHTMLRewrite.cpp277 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/trueos/contrib/llvm/tools/clang/lib/Tooling/
HDRefactoring.cpp66 SM.getLocForStartOfFile(ID). in apply()
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenAction.cpp235 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); in ConvertBackendLocation()
/trueos/contrib/llvm/tools/clang/include/clang/Frontend/
HDASTUnit.h196 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); in getSourceRange()
/trueos/contrib/llvm/tools/clang/lib/Frontend/
HDASTUnit.cpp2771 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2792 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2840 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
/trueos/contrib/llvm/tools/clang/lib/Index/
HDCommentToXML.cpp607 SourceLocation Start = FormatRewriterContext.Sources.getLocForStartOfFile(ID) in formatTextOfDeclaration()
/trueos/contrib/llvm/tools/clang/include/clang/Basic/
HDSourceManager.h989 SourceLocation getLocForStartOfFile(FileID FID) const { in getLocForStartOfFile() function
/trueos/contrib/llvm/tools/clang/lib/Format/
HDFormat.cpp1378 SourceLocation StartOfFile = SourceMgr.getLocForStartOfFile(ID); in reformat()
/trueos/contrib/llvm/tools/clang/lib/Basic/
HDSourceManager.cpp1547 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDSemaObjCProperty.cpp299 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in LocPropertyAttribute()
/trueos/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
HDRewriteObjC.cpp733 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude()
5027 InsertText(SM->getLocForStartOfFile(MainFileID), Preamble, false); in HandleTranslationUnit()
HDRewriteModernObjC.cpp816 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude()
6067 InsertText(SM->getLocForStartOfFile(MainFileID), Preamble, false); in HandleTranslationUnit()
/trueos/contrib/llvm/tools/clang/lib/AST/
HDExpr.cpp1007 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features, in getLocationOfByte()
HDASTImporter.cpp4906 return ToSM.getLocForStartOfFile(Import(Decomposed.first)) in Import()
/trueos/contrib/llvm/tools/clang/lib/Serialization/
HDASTReader.cpp5666 BeginLoc = SM.getLocForStartOfFile(File).getLocWithOffset(Offset); in FindFileRegionDecls()