/external/clang/lib/AST/ |
H A D | SelectorLocationsKind.cpp | 32 return EndLoc.getLocWithOffset(-Len); 42 return ArgLoc.getLocWithOffset(-Len); 61 return Loc.getLocWithOffset(-1);
|
H A D | CommentSema.cpp | 427 Loc.getLocWithOffset(1 + CommandName.size()), 451 TextBegin.getLocWithOffset(Text.size()), 708 << FixItHint::CreateInsertion(FD->getLocEnd().getLocWithOffset(1),
|
/external/clang/lib/Lex/ |
H A D | ScratchBuffer.cpp | 57 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
|
H A D | PPLexerChange.cpp | 101 CodeCompletionFileLoc.getLocWithOffset(CodeCompletionOffset); 419 Result.setLocation(Result.getLocation().getLocWithOffset(-1));
|
H A D | TokenConcatenation.cpp | 162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc)
|
H A D | PTHLexer.cpp | 76 Tok.setLocation(FileStartLoc.getLocWithOffset(FileOffset)); 297 return FileStartLoc.getLocWithOffset(Offset);
|
H A D | TokenLexer.cpp | 726 return MacroExpansionStart.getLocWithOffset(relativeOffset); 791 Tok.setLocation(Expansion.getLocWithOffset(RelOffs));
|
/external/clang/include/clang/AST/ |
H A D | Comment.h | 352 return SourceRange(getLocStart().getLocWithOffset(-1), 403 return SourceRange(L.getLocWithOffset(1), 404 L.getLocWithOffset(1 + TagName.size())); 446 return NameLocBegin.getLocWithOffset(Name.size()); 461 LocBegin, LocBegin.getLocWithOffset(1 + TagName.size()), 463 LocBegin.getLocWithOffset(1), 464 LocBegin.getLocWithOffset(1 + TagName.size())) { 519 LocBegin.getLocWithOffset(2), 520 LocBegin.getLocWithOffset(2 + TagName.size())) 663 return getLocStart().getLocWithOffset( [all...] |
H A D | CommentLexer.h | 88 return Loc.getLocWithOffset(Length - 1); 309 return FileLoc.getLocWithOffset(CharNo);
|
/external/clang/lib/Edit/ |
H A D | Commit.cpp | 21 Loc = Loc.getLocWithOffset(Offset.getOffset()); 28 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); 33 Loc = Loc.getLocWithOffset(InsertFromRangeOffs.getOffset()); 35 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); 253 AfterLoc = loc.getLocWithOffset(tokLen);
|
H A D | EditedSource.cpp | 309 Loc = Loc.getLocWithOffset(offs.getOffset()); 316 Loc.getLocWithOffset(len)); 377 BLoc = BLoc.getLocWithOffset(BeginOffs.getOffset()); 380 ELoc = BLoc.getLocWithOffset(EndOffs.getOffset() - BeginOffs.getOffset());
|
/external/clang/unittests/Lex/ |
H A D | LexerTest.cpp | 314 macroRange.getEnd().getLocWithOffset(1))); 331 EXPECT_EQ(SourceRange(fileLsqrLoc, fileIdLoc.getLocWithOffset(3)), 336 EXPECT_EQ(SourceRange(fileIdLoc, fileRsqrLoc.getLocWithOffset(1)), 343 EXPECT_EQ(SourceRange(macroPair.first, macroPair.second.getLocWithOffset(1)),
|
/external/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 408 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 425 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 448 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 467 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 476 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 499 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin), 514 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin),
|
H A D | ASTUnit.cpp | 2560 SourceLocation L = FileLoc.getLocWithOffset(SD.LocOffset); 2567 SourceLocation BL = FileLoc.getLocWithOffset((*I).first); 2568 SourceLocation EL = FileLoc.getLocWithOffset((*I).second); 2580 SourceLocation BL = FileLoc.getLocWithOffset(I->RemoveRange.first); 2581 SourceLocation EL = FileLoc.getLocWithOffset(I->RemoveRange.second); 2686 return SM.getMacroArgExpandedLocation(FileLoc.getLocWithOffset(Offset)); 2704 return FileLoc.getLocWithOffset(Offs); 2725 return FileLoc.getLocWithOffset(Offs);
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 916 Loc = Loc.getLocWithOffset(LocInfo.second); 958 Loc = Loc.getLocWithOffset(Offset); 976 return Loc.getLocWithOffset(LocInfo.second); 1063 SourceLocation NextLoc = Loc.getLocWithOffset(1); 1506 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1757 return FileLoc.getLocWithOffset(Size); 1765 return FileLoc.getLocWithOffset(FilePos); 1772 return FileLoc.getLocWithOffset(FilePos + i); 1869 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), 1878 ExpansionLoc = ExpansionLoc.getLocWithOffset(advanc [all...] |
/external/clang/tools/clang-format/ |
H A D | ClangFormat.cpp | 167 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); 176 End = Start.getLocWithOffset(Lengths[i]);
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 280 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); 328 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), 329 Loc.getLocWithOffset(Range.second - Column));
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 757 LocStart.getLocWithOffset(BufPtr-MainBufStart); 787 startLoc.getLocWithOffset(semiBuf-startBuf+1); 1016 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf); 1021 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf); 1545 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf); 1622 SourceLocation endBodyLoc = OrigEnd.getLocWithOffset(1); 1635 SourceLocation endBodyLoc = OrigEnd.getLocWithOffset(semiBuf-stmtBuf+1); 1667 SourceLocation rparenLoc = startLoc.getLocWithOffset(endBuf-startBuf); 1759 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); 1782 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBu [all...] |
H A D | RewriteModernObjC.cpp | 841 LocStart.getLocWithOffset(BufPtr-MainBufStart); 952 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); 1198 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf); 1203 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf); 1784 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf); 1861 SourceLocation endBodyLoc = OrigEnd.getLocWithOffset(1); 1874 SourceLocation endBodyLoc = OrigEnd.getLocWithOffset(semiBuf-stmtBuf+1); 1923 RParenExprLoc = startLoc.getLocWithOffset(RParenExprLocBuf-startBuf); 2094 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); 2219 SourceLocation LessLoc = Loc.getLocWithOffset(startRe [all...] |
/external/clang/lib/Format/ |
H A D | WhitespaceManager.cpp | 74 SourceLocation Start = Tok.getStartOfNonWhitespace().getLocWithOffset(Offset); 76 true, SourceRange(Start, Start.getLocWithOffset(ReplaceChars)),
|
H A D | Format.cpp | 1503 FormatTok->Tok.getLocation().getLocWithOffset(1); 1515 FormatTok->Tok.getLocation().getLocWithOffset(-TrailingWhitespace); 1579 WhitespaceStart, WhitespaceStart.getLocWithOffset(WhitespaceLength)); 1853 Start = Start.getLocWithOffset(First.LastNewlineOffset); 1856 End = End.getLocWithOffset(Last.TokenText.size() - 1); 1866 Tok.WhitespaceRange.getBegin().getLocWithOffset(Tok.LastNewlineOffset)); 1993 SourceLocation Start = StartOfFile.getLocWithOffset(Ranges[i].getOffset()); 1994 SourceLocation End = Start.getLocWithOffset(Ranges[i].getLength());
|
/external/clang/lib/ARCMigrate/ |
H A D | TransEmptyStatementsAndDealloc.cpp | 51 AfterMacroLoc = I->getLocWithOffset(getARCMTMacroName().size());
|
H A D | ObjCMT.cpp | 445 StartGetterSelectorLoc.getLocWithOffset(GetterSelector.getNameForSlot(0).size()); 452 EndLoc = EndLoc.getLocWithOffset(1); 456 BeginOfSetterDclLoc = BeginOfSetterDclLoc.getLocWithOffset(-1); 636 BeginOfEnumDclLoc = BeginOfEnumDclLoc.getLocWithOffset(-1); 2039 SM.getLocForStartOfFile(FID).getLocWithOffset(Entry.Offset); 2043 Loc.getLocWithOffset(Entry.RemoveLen));
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 530 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); 613 InstantiationEnd.getLocWithOffset(EndColNo - OldEndColNo);
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 133 SourceLocation getLocWithOffset(int Offset) const { function
|