Searched refs:getFileLocWithOffset (Results 1 – 23 of 23) sorted by relevance
56 return BufferStartLoc.getFileLocWithOffset(BytesUsed-Len-1); in getToken()
451 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()
135 PrevTok.getLocation().getFileLocWithOffset(PrevTok.getLength()) == in AvoidConcat()
76 Tok.setLocation(FileStartLoc.getFileLocWithOffset(FileOffset)); in Lex()300 return FileStartLoc.getFileLocWithOffset(Offset); in getSourceLocation()
683 return MacroExpansionStart.getFileLocWithOffset(relativeOffset); in getMacroExpansionLocation()
750 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 …]
280 SourceLocation EndLoc = StartLoc.getFileLocWithOffset(FileEnd-FileStart); in AddHeaderFooterInternalBuiltinCSS()
281 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()
805 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()
477 SM.getLocForStartOfFile(LPosInfo.first).getFileLocWithOffset(DisplayPos); in HandlePiece()578 InstantiationEnd.getFileLocWithOffset(EndColNo - OldEndColNo); in HighlightRange()
123 return tok.getLocation().getFileLocWithOffset(1); in findLocationAfterSemi()
484 SourceLocation afterText = loc.getFileLocWithOffset(text.size()); in commitReplaceText()
129 SourceLocation getFileLocWithOffset(int Offset) const { in getFileLocWithOffset() function
188 CSM.getLocForStartOfFile(FID).getFileLocWithOffset(Offset); in ConvertBackendLocation()
317 SM.getCharacterData(FILoc.getFileLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()320 SM.getCharacterData(FILoc.getFileLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()322 FILoc = FILoc.getFileLocWithOffset(-1); in ParseRHSOfBinaryExpression()
40 SourceLocation FirstEnd = FirstLoc.getFileLocWithOffset(First.getLength()); in AreTokensAdjacent()61 ColonToken.setLocation(ColonToken.getLocation().getFileLocWithOffset(-1)); in FixDigraph()
847 SourceLocation SCEndLoc = SCLoc.getFileLocWithOffset(strlen(SpecName)); in Finish()
1409 ParenInsertionLoc.getFileLocWithOffset(1)); in LookupMemberExpr()
1241 End = End.getFileLocWithOffset(1); in getSpecifierRange()
6809 Loc.getFileLocWithOffset(1) == UO->getOperatorLoc() && in CheckAssignmentOperands()6812 Loc.getFileLocWithOffset(2) != UO->getSubExpr()->getLocStart() && in CheckAssignmentOperands()
391 .getFileLocWithOffset(MacroLoc.second); in ReadPredefinesBuffer()414 .getFileLocWithOffset(MacroLoc.second); in ReadPredefinesBuffer()
123 EndLoc = EndLoc.getFileLocWithOffset(Length); in translateSourceRange()2756 SourceLocation SLoc = Start.getFileLocWithOffset(offset); in clang_getLocationForOffset()
4255 .getFileLocWithOffset(Decomposed.second); in Import()