Searched refs:getLocWithOffset (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DSelectorLocationsKind.cpp32 return EndLoc.getLocWithOffset(-Len);
42 return ArgLoc.getLocWithOffset(-Len);
61 return Loc.getLocWithOffset(-1);
H A DCommentSema.cpp422 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 DScratchBuffer.cpp56 return BufferStartLoc.getLocWithOffset(BytesUsed-Len-1);
H A DPPLexerChange.cpp101 CodeCompletionFileLoc.getLocWithOffset(CodeCompletionOffset);
393 Result.setLocation(Result.getLocation().getLocWithOffset(-1));
H A DTokenConcatenation.cpp162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc)
H A DPTHLexer.cpp73 Tok.setLocation(FileStartLoc.getLocWithOffset(FileOffset));
287 return FileStartLoc.getLocWithOffset(Offset);
H A DTokenLexer.cpp731 return MacroExpansionStart.getLocWithOffset(relativeOffset);
796 Tok.setLocation(Expansion.getLocWithOffset(RelOffs));
H A DPreprocessingRecord.cpp471 EndLoc = EndLoc.getLocWithOffset(-1); // the InclusionDirective expects
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DComment.h341 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 DCommentLexer.h88 return Loc.getLocWithOffset(Length - 1);
319 return FileLoc.getLocWithOffset(CharNo);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Edit/
H A DCommit.cpp21 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 DEditedSource.cpp311 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 DCodeGenAction.cpp235 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 DSourceManager.cpp931 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 DVerifyDiagnosticConsumer.cpp377 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 DRewriteObjC.cpp750 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 DFormat.cpp786 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 DWhitespaceManager.cpp76 true, SourceRange(Tok.getStartOfNonWhitespace().getLocWithOffset(Offset),
77 Tok.getStartOfNonWhitespace().getLocWithOffset(
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp473 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos);
556 InstantiationEnd.getLocWithOffset(EndColNo - OldEndColNo);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp51 AfterMacroLoc = I->getLocWithOffset(getARCMTMacroName().size());
H A DObjCMT.cpp413 StartGetterSelectorLoc.getLocWithOffset(GetterSelector.getNameForSlot(0).size());
420 EndLoc = EndLoc.getLocWithOffset(1);
424 BeginOfSetterDclLoc = BeginOfSetterDclLoc.getLocWithOffset(-1);
637 BeginOfEnumDclLoc = BeginOfEnumDclLoc.getLocWithOffset(-1);
H A DTransUnbridgedCasts.cpp256 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1));
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h133 SourceLocation getLocWithOffset(int Offset) const { function
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/
H A DASTUnit.h197 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Core/
H A DHTMLRewrite.cpp278 SourceLocation EndLoc = StartLoc.getLocWithOffset(FileEnd-FileStart);

Completed in 322 milliseconds

12