/external/clang/lib/AST/ |
SelectorLocationsKind.cpp | 32 return EndLoc.getLocWithOffset(-Len); 42 return ArgLoc.getLocWithOffset(-Len); 61 return Loc.getLocWithOffset(-1);
|
CommentSema.cpp | 427 Loc.getLocWithOffset(1 + CommandName.size()), 451 TextBegin.getLocWithOffset(Text.size()), 708 << FixItHint::CreateInsertion(FD->getLocEnd().getLocWithOffset(1), [all...] |
/external/clang/lib/Lex/ |
ScratchBuffer.cpp | 57 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
|
TokenConcatenation.cpp | 166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc)
|
PPLexerChange.cpp | 102 CodeCompletionFileLoc.getLocWithOffset(CodeCompletionOffset); 452 Result.setLocation(Result.getLocation().getLocWithOffset(-1));
|
PTHLexer.cpp | 75 Tok.setLocation(FileStartLoc.getLocWithOffset(FileOffset)); 296 return FileStartLoc.getLocWithOffset(Offset);
|
TokenLexer.cpp | 750 return MacroExpansionStart.getLocWithOffset(relativeOffset); [all...] |
/external/clang/include/clang/AST/ |
Comment.h | 354 return SourceRange(getLocStart().getLocWithOffset(-1), 405 return SourceRange(L.getLocWithOffset(1), 406 L.getLocWithOffset(1 + TagName.size())); 448 return NameLocBegin.getLocWithOffset(Name.size()); 463 LocBegin, LocBegin.getLocWithOffset(1 + TagName.size()), 465 LocBegin.getLocWithOffset(1), 466 LocBegin.getLocWithOffset(1 + TagName.size())) { 521 LocBegin.getLocWithOffset(2), 522 LocBegin.getLocWithOffset(2 + TagName.size())) 665 return getLocStart().getLocWithOffset(1) [all...] |
CommentLexer.h | 88 return Loc.getLocWithOffset(Length - 1); 309 return FileLoc.getLocWithOffset(CharNo);
|
/external/clang/lib/Edit/ |
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);
|
EditedSource.cpp | 369 Loc = Loc.getLocWithOffset(offs.getOffset()); 376 Loc.getLocWithOffset(len)); 437 BLoc = BLoc.getLocWithOffset(BeginOffs.getOffset()); 440 ELoc = BLoc.getLocWithOffset(EndOffs.getOffset() - BeginOffs.getOffset());
|
/external/clang/unittests/Lex/ |
LexerTest.cpp | 313 macroRange.getEnd().getLocWithOffset(1))); 330 EXPECT_EQ(SourceRange(fileLsqrLoc, fileIdLoc.getLocWithOffset(3)), 335 EXPECT_EQ(SourceRange(fileIdLoc, fileRsqrLoc.getLocWithOffset(1)), 342 EXPECT_EQ(SourceRange(macroPair.first, macroPair.second.getLocWithOffset(1)),
|
/external/clang/lib/Frontend/ |
VerifyDiagnosticConsumer.cpp | 406 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 423 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 446 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 465 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 474 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 497 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin), 511 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin),
|
ASTUnit.cpp | [all...] |
/external/clang/lib/Frontend/Rewrite/ |
RewriteObjC.cpp | 748 LocStart.getLocWithOffset(BufPtr-MainBufStart); 778 startLoc.getLocWithOffset(semiBuf-startBuf+1); [all...] |
/external/clang/include/clang/Lex/ |
Token.h | 153 : getLocation().getLocWithOffset(getLength());
|
Lexer.h | 336 Range.getBegin(), End.getLocWithOffset(-1));
|
/external/clang/lib/Basic/ |
SourceManager.cpp | [all...] |
/external/clang/tools/clang-format/ |
ClangFormat.cpp | 181 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]); 190 End = Start.getLocWithOffset(Lengths[i]);
|
/external/clang/lib/ARCMigrate/ |
TransEmptyStatementsAndDealloc.cpp | 51 AfterMacroLoc = I->getLocWithOffset(getARCMTMacroName().size());
|
ObjCMT.cpp | 296 EndLoc = EndLoc.getLocWithOffset(-1); 547 StartGetterSelectorLoc.getLocWithOffset(GetterSelector.getNameForSlot(0).size()); 554 EndLoc = EndLoc.getLocWithOffset(1); 558 BeginOfSetterDclLoc = BeginOfSetterDclLoc.getLocWithOffset(-1); 750 BeginOfEnumDclLoc = BeginOfEnumDclLoc.getLocWithOffset(-1); 785 EndLoc = EndLoc.getLocWithOffset(count-1); 793 StartTypedefLoc = StartTypedefLoc.getLocWithOffset(+1); [all...] |
/external/clang/lib/Format/ |
Format.cpp | [all...] |
WhitespaceManager.cpp | 80 SourceLocation Start = Tok.getStartOfNonWhitespace().getLocWithOffset(Offset); 82 true, SourceRange(Start, Start.getLocWithOffset(ReplaceChars)),
|
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 548 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); 631 InstantiationEnd.getLocWithOffset(EndColNo - OldEndColNo);
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 134 SourceLocation getLocWithOffset(int Offset) const {
|