Home
last modified time | relevance | path

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

12

/external/clang/lib/Lex/
DPPLexerChange.cpp92 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
100 CodeCompletionFileLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
153 SourceLocation EnterLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFileWithPTH()
375 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
483 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
DScratchBuffer.cpp73 BufferStartLoc = SourceMgr.getLocForStartOfFile(FID); in AllocScratchBuffer()
DLexer.cpp111 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
146 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile->getBufferStart(), in Lexer()
186 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
304 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
442 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1206 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findLocationAfterToken()
DTokenLexer.cpp609 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in PasteTokens()
DPTHLexer.cpp42 FileStartLoc = PP.getSourceManager().getLocForStartOfFile(FID); in PTHLexer()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp224 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
275 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
493 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
548 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
DIssueHash.cpp150 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts, in NormalizeLine()
/external/clang/tools/libclang/
DCIndexHigh.cpp235 SourceRange Range(SM.getLocForStartOfFile(FID), SM.getLocForEndOfFile(FID)); in findIdRefsInFile()
330 SourceRange Range(SM.getLocForStartOfFile(FID), SM.getLocForEndOfFile(FID)); in findMacroRefsInFile()
395 SourceRange Range(SM.getLocForStartOfFile(FID), SM.getLocForEndOfFile(FID)); in findIncludesInFile()
DIndexing.cpp240 SourceLocation MainFileLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in FileChanged()
/external/clang/lib/ARCMigrate/
DTransforms.cpp157 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
404 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
485 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in addPropertyAttribute()
/external/clang/lib/Edit/
DCommit.cpp20 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); in getFileLocation()
32 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); in getInsertFromRange()
DEditedSource.cpp368 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
436 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
/external/clang/lib/Format/
DTokenAnalyzer.cpp65 SourceLocation StartOfFile = VirtualSM->getLocForStartOfFile(ID); in CreateVirtualEnvironment()
DFormatTokenLexer.cpp589 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), in resetLexer()
/external/clang/tools/clang-format/
DClangFormat.cpp181 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp277 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/external/clang/lib/Frontend/
DASTUnit.cpp2547 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2690 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2711 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2759 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
/external/clang/include/clang/Frontend/
DASTUnit.h217 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); in getSourceRange()
/external/clang/lib/Tooling/Core/
DReplacement.cpp64 SM.getLocForStartOfFile(ID). in apply()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp553 l != manager.getLocForStartOfFile(manager.getFileID(loc)); in CheckVirtualSpecifiers()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp289 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); in ConvertBackendLocation()
DCoverageMappingGen.cpp111 return SM.getLocForStartOfFile(SM.getFileID(Loc)); in getStartOfFileOrMacro()
/external/clang/lib/Index/
DCommentToXML.cpp605 SourceLocation Start = FormatRewriterContext.Sources.getLocForStartOfFile(ID) in formatTextOfDeclaration()
/external/clang/include/clang/Basic/
DSourceManager.h1006 SourceLocation getLocForStartOfFile(FileID FID) const { in getLocForStartOfFile() function
/external/clang/unittests/AST/
DCommentParser.cpp59 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); in parseString()

12