Home
last modified time | relevance | path

Searched refs:getFileLocWithOffset (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/Lex/
DScratchBuffer.cpp56 return BufferStartLoc.getFileLocWithOffset(BytesUsed-Len-1); in getToken()
DLexer.cpp451 SourceLocation LexerStartLoc = Loc.getFileLocWithOffset(-LocInfo.second); in GetBeginningOfToken()
641 return TokStart.getFileLocWithOffset(PhysOffset); in AdvanceToTokenCharacter()
661 return TokStart.getFileLocWithOffset(PhysOffset); in AdvanceToTokenCharacter()
699 return Loc.getFileLocWithOffset(Len); in getLocForEndOfToken()
737 SourceLocation afterLoc = loc.getFileLocWithOffset(tokLen+1); in isAtEndOfMacroExpansion()
910 SpellingLoc = SpellingLoc.getFileLocWithOffset(CharNo); in GetMappedTokenLoc()
931 return FileLoc.getFileLocWithOffset(CharNo); in getSourceLocation()
DTokenConcatenation.cpp135 PrevTok.getLocation().getFileLocWithOffset(PrevTok.getLength()) == in AvoidConcat()
DPTHLexer.cpp76 Tok.setLocation(FileStartLoc.getFileLocWithOffset(FileOffset)); in Lex()
300 return FileStartLoc.getFileLocWithOffset(Offset); in getSourceLocation()
DTokenLexer.cpp683 return MacroExpansionStart.getFileLocWithOffset(relativeOffset); in getMacroExpansionLocation()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp750 LocStart.getFileLocWithOffset(BufPtr-MainBufStart); in RewriteInclude()
780 startLoc.getFileLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1004 SourceLocation OptionalLoc = LocStart.getFileLocWithOffset(p-startBuf); in RewriteProtocolDecl()
1009 SourceLocation OptionalLoc = LocStart.getFileLocWithOffset(p-startBuf); in RewriteProtocolDecl()
1670 SourceLocation lparenLoc = startLoc.getFileLocWithOffset(rparenBuf-startBuf); in RewriteObjCForCollectionStmt()
1747 SourceLocation endBodyLoc = OrigEnd.getFileLocWithOffset(1); in RewriteObjCForCollectionStmt()
1760 SourceLocation endBodyLoc = OrigEnd.getFileLocWithOffset(semiBuf-stmtBuf+1); in RewriteObjCForCollectionStmt()
1792 SourceLocation rparenLoc = startLoc.getFileLocWithOffset(endBuf-startBuf); in RewriteObjCSynchronizedStmt()
1878 SourceLocation onePastSemiLoc = startLoc.getFileLocWithOffset(semiBuf-startBuf+1); in RewriteTryReturnStmts()
1901 SourceLocation onePastSemiLoc = startLoc.getFileLocWithOffset(semiBuf-startBuf+1); in RewriteSyncReturnStmts()
[all …]
DHTMLRewrite.cpp280 SourceLocation EndLoc = StartLoc.getFileLocWithOffset(FileEnd-FileStart); in AddHeaderFooterInternalBuiltinCSS()
/external/clang/lib/Frontend/
DVerifyDiagnosticsClient.cpp281 PP.Diag(Pos.getFileLocWithOffset(PH.C-PH.Begin), in ParseDirective()
290 PP.Diag(Pos.getFileLocWithOffset(PH.C-PH.Begin), in ParseDirective()
317 PP.Diag(Pos.getFileLocWithOffset(ContentBegin-PH.Begin), in ParseDirective()
/external/clang/lib/Basic/
DSourceManager.cpp805 Loc = Loc.getFileLocWithOffset(LocInfo.second); in getSpellingLocSlowCase()
856 return Loc.getFileLocWithOffset(LocInfo.second); in getImmediateSpellingLoc()
1277 IncludeLoc = IncludeLoc.getFileLocWithOffset(Entry->IncludeOffset); in getPresumedLoc()
1442 return getLocForStartOfFile(FirstFID).getFileLocWithOffset(Size); in getLocation()
1454 return getLocForStartOfFile(FirstFID).getFileLocWithOffset(FilePos + i); in getLocation()
1456 return getLocForStartOfFile(FirstFID).getFileLocWithOffset(FilePos + Col - 1); in getLocation()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp477 SM.getLocForStartOfFile(LPosInfo.first).getFileLocWithOffset(DisplayPos); in HandlePiece()
578 InstantiationEnd.getFileLocWithOffset(EndColNo - OldEndColNo); in HighlightRange()
/external/clang/lib/ARCMigrate/
DTransforms.cpp123 return tok.getLocation().getFileLocWithOffset(1); in findLocationAfterSemi()
DTransformActions.cpp484 SourceLocation afterText = loc.getFileLocWithOffset(text.size()); in commitReplaceText()
/external/clang/include/clang/Basic/
DSourceLocation.h129 SourceLocation getFileLocWithOffset(int Offset) const { in getFileLocWithOffset() function
/external/clang/lib/CodeGen/
DCodeGenAction.cpp188 CSM.getLocForStartOfFile(FID).getFileLocWithOffset(Offset); in ConvertBackendLocation()
/external/clang/lib/Parse/
DParseExpr.cpp317 SM.getCharacterData(FILoc.getFileLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()
320 SM.getCharacterData(FILoc.getFileLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()
322 FILoc = FILoc.getFileLocWithOffset(-1); in ParseRHSOfBinaryExpression()
DParseExprCXX.cpp40 SourceLocation FirstEnd = FirstLoc.getFileLocWithOffset(First.getLength()); in AreTokensAdjacent()
61 ColonToken.setLocation(ColonToken.getLocation().getFileLocWithOffset(-1)); in FixDigraph()
/external/clang/lib/Sema/
DDeclSpec.cpp847 SourceLocation SCEndLoc = SCLoc.getFileLocWithOffset(strlen(SpecName)); in Finish()
DSemaExprMember.cpp1409 ParenInsertionLoc.getFileLocWithOffset(1)); in LookupMemberExpr()
DSemaChecking.cpp1241 End = End.getFileLocWithOffset(1); in getSpecifierRange()
DSemaExpr.cpp6809 Loc.getFileLocWithOffset(1) == UO->getOperatorLoc() && in CheckAssignmentOperands()
6812 Loc.getFileLocWithOffset(2) != UO->getSubExpr()->getLocStart() && in CheckAssignmentOperands()
/external/clang/lib/Serialization/
DASTReader.cpp391 .getFileLocWithOffset(MacroLoc.second); in ReadPredefinesBuffer()
414 .getFileLocWithOffset(MacroLoc.second); in ReadPredefinesBuffer()
/external/clang/tools/libclang/
DCIndex.cpp123 EndLoc = EndLoc.getFileLocWithOffset(Length); in translateSourceRange()
2756 SourceLocation SLoc = Start.getFileLocWithOffset(offset); in clang_getLocationForOffset()
/external/clang/lib/AST/
DASTImporter.cpp4255 .getFileLocWithOffset(Decomposed.second); in Import()