/freebsd-10-stable/contrib/llvm/tools/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 | 422 Loc.getLocWithOffset(1 + CommandName.size()), 446 TextBegin.getLocWithOffset(Text.size()), 678 << FixItHint::CreateInsertion(FD->getLocEnd().getLocWithOffset(1),
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/ |
H A D | ScratchBuffer.cpp | 56 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
|
H A D | PPLexerChange.cpp | 101 CodeCompletionFileLoc.getLocWithOffset(CodeCompletionOffset); 393 Result.setLocation(Result.getLocation().getLocWithOffset(-1));
|
H A D | TokenConcatenation.cpp | 162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc)
|
H A D | PTHLexer.cpp | 73 Tok.setLocation(FileStartLoc.getLocWithOffset(FileOffset)); 287 return FileStartLoc.getLocWithOffset(Offset);
|
H A D | TokenLexer.cpp | 731 return MacroExpansionStart.getLocWithOffset(relativeOffset); 796 Tok.setLocation(Expansion.getLocWithOffset(RelOffs));
|
H A D | PreprocessingRecord.cpp | 471 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | Comment.h | 341 return SourceRange(getLocStart().getLocWithOffset(-1), 392 return SourceRange(L.getLocWithOffset(1), 393 L.getLocWithOffset(1 + TagName.size())); 427 return NameLocBegin.getLocWithOffset(Name.size()); 442 LocBegin, LocBegin.getLocWithOffset(1 + TagName.size()), 444 LocBegin.getLocWithOffset(1), 445 LocBegin.getLocWithOffset(1 + TagName.size())) { 500 LocBegin.getLocWithOffset(2), 501 LocBegin.getLocWithOffset(2 + TagName.size())) 644 return getLocStart().getLocWithOffset( [all...] |
H A D | CommentLexer.h | 88 return Loc.getLocWithOffset(Length - 1); 319 return FileLoc.getLocWithOffset(CharNo);
|
/freebsd-10-stable/contrib/llvm/tools/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)); 255 AfterLoc = loc.getLocWithOffset(tokLen);
|
H A D | EditedSource.cpp | 311 Loc = Loc.getLocWithOffset(offs.getOffset()); 318 Loc.getLocWithOffset(len)); 379 BLoc = BLoc.getLocWithOffset(BeginOffs.getOffset()); 382 ELoc = BLoc.getLocWithOffset(EndOffs.getOffset() - BeginOffs.getOffset());
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 235 CSM.getLocForStartOfFile(FID).getLocWithOffset(Offset); 272 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), 273 Loc.getLocWithOffset(Range.second - Column));
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Basic/ |
H A D | SourceManager.cpp | 931 Loc = Loc.getLocWithOffset(LocInfo.second); 973 Loc = Loc.getLocWithOffset(Offset); 991 return Loc.getLocWithOffset(LocInfo.second); 1078 SourceLocation NextLoc = Loc.getLocWithOffset(1); 1548 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1798 return FileLoc.getLocWithOffset(Size); 1806 return FileLoc.getLocWithOffset(FilePos); 1813 return FileLoc.getLocWithOffset(FilePos + i); 1910 Info.getSpellingLoc().getLocWithOffset(SpellRelativeOffs), 1919 ExpansionLoc = ExpansionLoc.getLocWithOffset(advanc [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 377 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 390 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 413 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 432 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 441 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 470 Diags.Report(Pos.getLocWithOffset(ContentBegin-PH.Begin),
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 750 LocStart.getLocWithOffset(BufPtr-MainBufStart); 780 startLoc.getLocWithOffset(semiBuf-startBuf+1); 1020 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf); 1025 SourceLocation OptionalLoc = LocStart.getLocWithOffset(p-startBuf); 1567 SourceLocation lparenLoc = startLoc.getLocWithOffset(rparenBuf-startBuf); 1644 SourceLocation endBodyLoc = OrigEnd.getLocWithOffset(1); 1657 SourceLocation endBodyLoc = OrigEnd.getLocWithOffset(semiBuf-stmtBuf+1); 1689 SourceLocation rparenLoc = startLoc.getLocWithOffset(endBuf-startBuf); 1780 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); 1803 SourceLocation onePastSemiLoc = startLoc.getLocWithOffset(semiBu [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Format/ |
H A D | Format.cpp | 786 First->WhitespaceRange.getBegin().getLocWithOffset( 788 Last->getStartOfNonWhitespace().getLocWithOffset( 808 First->WhitespaceRange.getBegin().getLocWithOffset( 1056 FormatTok->Tok.getLocation().getLocWithOffset(1); 1068 FormatTok->Tok.getLocation().getLocWithOffset(-TrailingWhitespace); 1132 WhitespaceStart, WhitespaceStart.getLocWithOffset(WhitespaceLength)); 1381 SourceLocation Start = StartOfFile.getLocWithOffset(Ranges[i].getOffset()); 1382 SourceLocation End = Start.getLocWithOffset(Ranges[i].getLength());
|
H A D | WhitespaceManager.cpp | 76 true, SourceRange(Tok.getStartOfNonWhitespace().getLocWithOffset(Offset), 77 Tok.getStartOfNonWhitespace().getLocWithOffset(
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 473 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); 556 InstantiationEnd.getLocWithOffset(EndColNo - OldEndColNo);
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransEmptyStatementsAndDealloc.cpp | 51 AfterMacroLoc = I->getLocWithOffset(getARCMTMacroName().size());
|
H A D | ObjCMT.cpp | 413 StartGetterSelectorLoc.getLocWithOffset(GetterSelector.getNameForSlot(0).size()); 420 EndLoc = EndLoc.getLocWithOffset(1); 424 BeginOfSetterDclLoc = BeginOfSetterDclLoc.getLocWithOffset(-1); 637 BeginOfEnumDclLoc = BeginOfEnumDclLoc.getLocWithOffset(-1);
|
H A D | TransUnbridgedCasts.cpp | 256 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1));
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 133 SourceLocation getLocWithOffset(int Offset) const { function
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 197 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1));
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Core/ |
H A D | HTMLRewrite.cpp | 278 SourceLocation EndLoc = StartLoc.getLocWithOffset(FileEnd-FileStart);
|