Home
last modified time | relevance | path

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

12

/external/clang/lib/Lex/
DPPLexerChange.cpp91 SourceLocation FileStart = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
99 CodeCompletionFileLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFile()
152 SourceLocation EnterLoc = SourceMgr.getLocForStartOfFile(FID); in EnterSourceFileWithPTH()
345 SourceMgr.getLocForStartOfFile(CurPPLexer->getFileID()) == in HandleEndOfFile()
450 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
487 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
DScratchBuffer.cpp70 BufferStartLoc = SourceMgr.getLocForStartOfFile(FID); in AllocScratchBuffer()
DLexer.cpp111 FileLoc(PP.getSourceManager().getLocForStartOfFile(FID)), in Lexer()
146 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) { in Lexer()
192 L->FileLoc = SM.createExpansionLoc(SM.getLocForStartOfFile(SpellingFID), in Create_PragmaLexer()
310 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()
448 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken()
1185 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(), in findLocationAfterToken()
DTokenLexer.cpp585 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), in PasteTokens()
DPTHLexer.cpp43 FileStartLoc = PP.getSourceManager().getLocForStartOfFile(FID); in PTHLexer()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp222 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
262 R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str()); in ReportDiag()
475 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), in HandlePiece()
530 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); in HandlePiece()
/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.cpp262 SourceLocation MainFileLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in FileChanged()
DCIndex.cpp4510 SourceLocation Start = TU->getSourceManager().getLocForStartOfFile(MainID); in getRawCursorExtent()
5164 Lexer Lex(SourceMgr.getLocForStartOfFile(BeginLocInfo.first), in getTokens()
5752 Lexer Lex(SourceMgr.getLocForStartOfFile(BeginLocInfo.first), in annotatePreprocessorTokens()
/external/clang/lib/ARCMigrate/
DTransforms.cpp158 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
408 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
489 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in addPropertyAttribute()
DObjCMT.cpp2039 SM.getLocForStartOfFile(FID).getLocWithOffset(Entry.Offset); in applyEditsToTemp()
/external/clang/lib/Edit/
DCommit.cpp20 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); in getFileLocation()
32 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); in getInsertFromRange()
DEditedSource.cpp308 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
376 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); in getSourceText()
/external/clang/tools/clang-format/
DClangFormat.cpp167 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); in fillRanges()
/external/clang/lib/Tooling/
DRefactoring.cpp67 SM.getLocForStartOfFile(ID). in apply()
/external/clang/lib/Rewrite/Core/
DHTMLRewrite.cpp277 SourceLocation StartLoc = R.getSourceMgr().getLocForStartOfFile(FID); in AddHeaderFooterInternalBuiltinCSS()
/external/clang/include/clang/Frontend/
DASTUnit.h215 SourceLocation FileLoc = SM.getLocForStartOfFile(SM.getPreambleFileID()); in getSourceRange()
/external/clang/lib/Frontend/
DASTUnit.cpp2557 SourceLocation FileLoc = SrcMgr.getLocForStartOfFile(FID); in TranslateStoredDiagnostics()
2703 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble()
2724 SourceLocation FileLoc = SourceMgr->getLocForStartOfFile(PreambleID); in mapLocationToPreamble()
2772 return SourceMgr->getLocForStartOfFile(FID); in getStartOfMainFileID()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp280 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); in ConvertBackendLocation()
/external/clang/lib/Index/
DCommentToXML.cpp608 SourceLocation Start = FormatRewriterContext.Sources.getLocForStartOfFile(ID) in formatTextOfDeclaration()
/external/clang/include/clang/Basic/
DSourceManager.h983 SourceLocation getLocForStartOfFile(FileID FID) const { in getLocForStartOfFile() function
/external/clang/unittests/AST/
DCommentParser.cpp59 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); in parseString()
DCommentLexer.cpp65 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); in lexString()
/external/clang/lib/Basic/
DSourceManager.cpp1505 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
/external/clang/lib/Format/
DFormat.cpp1990 SourceLocation StartOfFile = SourceMgr.getLocForStartOfFile(ID); in reformat()

12