/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 73 SourceLocation Loc = PPE->getSourceRange().getBegin(); 129 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 135 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin())) 161 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 163 unsigned Begin = findBeginLocalPreprocessedEntity(Range.getBegin()); 240 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); 247 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); 253 PreprocessedEntities.back()->getSourceRange().getBegin())) && 262 PreprocessedEntities.back()->getSourceRange().getBegin())) { 290 (*I)->getSourceRange().getBegin())) { [all...] |
PPConditionalDirectiveRecord.cpp | 31 Range.getBegin(), CondDirectiveLoc::Comp(SourceMgr));
|
/external/clang/include/clang/Rewrite/Core/ |
HTMLRewrite.h | 42 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag);
|
Rewriter.h | 126 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 131 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 144 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr);
|
/external/clang/lib/Edit/ |
Commit.cpp | 77 PPRec->areInDifferentConditionalDirectiveRegion(loc, range.getBegin())) { 94 addRemove(range.getBegin(), Offs, Len); 100 bool commitableBefore = insert(range.getBegin(), before, /*afterToken=*/false, 117 if (!canInsert(range.getBegin(), Offs) || !canRemoveRange(range, Offs, Len)) { 122 addRemove(range.getBegin(), Offs, Len); 123 addInsert(range.getBegin(), Offs, text, false); 153 addRemove(range.getBegin(), 302 if (range.getBegin().isMacroID() || range.getEnd().isMacroID()) 304 if (SM.isInSystemHeader(range.getBegin()) || 311 std::pair<FileID, unsigned> beginInfo = SM.getDecomposedLoc(range.getBegin()); [all...] |
RewriteObjCFoundationAPI.cpp | 193 commit.replaceWithInner(CharSourceRange::getCharRange(MsgRange.getBegin(), 194 ArgRange.getBegin()), 196 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), 242 commit.replaceWithInner(CharSourceRange::getCharRange(MsgRange.getBegin(), 243 Arg0Range.getBegin()), 245 commit.replaceWithInner(CharSourceRange::getCharRange(Arg0Range.getBegin(), 246 Arg1Range.getBegin()), 248 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd()), 250 commit.insertWrap("[", CharSourceRange::getCharRange(Arg0Range.getBegin(), 251 Arg1Range.getBegin()), [all...] |
/external/clang/lib/Rewrite/ |
Rewriter.cpp | 126 if (!isRewritable(Range.getBegin()) || 132 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID); 169 if (!isRewritable(Range.getBegin()) || 175 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID); 187 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); 314 if (!isRewritable(range.getBegin())) return true; 317 SourceLocation start = range.getBegin(); 321 unsigned newOffs = getLocationOffsetAndFileID(replacementRange.getBegin(), 330 if (!isRewritable(range.getBegin())) return true; 337 StartOff = getLocationOffsetAndFileID(range.getBegin(), StartFileID) [all...] |
/external/clang/lib/Sema/ |
SemaCast.cpp | 330 = (CT == CT_CStyle)? InitializationKind::CreateCStyleCast(range.getBegin(), 372 S.Diag(range.getBegin(), msg) 390 S.Diag(opRange.getBegin(), msg) << castType 595 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ref_or_ptr) 605 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, 612 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class) 628 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ptr) 635 Self.Diag(OpRange.getBegin(), diag::err_bad_cxx_cast_rvalue) 650 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, 657 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class [all...] |
SemaStmtAttr.cpp | 29 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_wrong_target) 39 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_outside_switch); 185 SourceLocation OptionLoc = LH->getRange().getBegin(); 222 S.Diag(A.getRange().getBegin(), diag::err_attribute_invalid_on_stmt) 241 return ActOnAttributedStmt(Range.getBegin(), Attrs, S);
|
/external/clang/lib/ARCMigrate/ |
TransUnusedInitDelegate.cpp | 59 Pass.TA.insert(ExprRange.getBegin(), "if (!(self = ");
|
PlistReporter.cpp | 54 AddFID(FM, Fids, SM, RI->getBegin());
|
TransformActions.cpp | 69 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); 325 insert(range.getBegin(), text); 409 return canInsert(range.getBegin()) && canInsertAfterToken(range.getEnd()); 456 commitInsert(E->getSourceRange().getBegin(), getARCMTMacroName()); 470 if (range.getBegin() != replacementRange.getBegin()) 471 addRemoval(CharSourceRange::getCharRange(range.getBegin(), 472 replacementRange.getBegin()));
|
/external/clang/lib/Frontend/Rewrite/ |
FixItRewriter.cpp | 68 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); 155 commit.insertFromRange(Hint.RemoveRange.getBegin(), 162 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) 165 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
|
/external/clang/lib/AST/ |
RawCommentList.cpp | 115 if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) { 128 SourceMgr.getDecomposedLoc(Range.getBegin()); 158 SourceMgr.getDecomposedLoc(Range.getBegin()); 188 Range.getBegin(), 210 getSourceRange().getBegin(),
|
/external/clang/unittests/Tooling/ |
RecursiveASTVisitorTest.cpp | 21 Match("", Lambda->getIntroducerRange().getBegin());
|
/external/clang/lib/Format/ |
WhitespaceManager.cpp | 24 C1.OriginalWhitespaceRange.getBegin(), 25 C2.OriginalWhitespaceRange.getBegin()); 114 SourceMgr.getFileOffset(Changes[i].OriginalWhitespaceRange.getBegin()); 456 assert(Changes[i - 1].OriginalWhitespaceRange.getBegin() != 457 C.OriginalWhitespaceRange.getBegin() && 478 SourceMgr.getFileOffset(Range.getBegin()); 480 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()),
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 201 SourceLocation getBegin() const { return B; } 254 SourceLocation getBegin() const { return Range.getBegin(); }
|
/external/clang/include/clang/AST/ |
Attr.h | 93 SourceLocation getLocation() const { return Range.getBegin(); }
|
RawCommentList.h | 111 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
|
NestedNameSpecifier.h | 282 return getSourceRange().getBegin(); 294 return getLocalSourceRange().getBegin();
|
/external/deqp/framework/randomshaders/ |
rsgVariableManager.hpp | 229 ValueEntryIterator<Filter> getBegin (Filter filter = Filter()) const; 260 ValueEntryIterator<Filter> VariableManager::getBegin (Filter filter) const
|
/external/clang/include/clang/Sema/ |
Initialization.h | 504 return InitializationKind(IK_Direct, IC_StaticCast, TypeRange.getBegin(), 505 TypeRange.getBegin(), TypeRange.getEnd()); 515 IC_CStyleCast, StartLoc, TypeRange.getBegin(), 523 IC_FunctionalCast, TypeRange.getBegin(), 524 TypeRange.getBegin(), TypeRange.getEnd()); [all...] |
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 101 commit.insertFromRange(Hint.RemoveRange.getBegin(), 108 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) 111 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, 404 SourceLocation Begin = I->getBegin(), End = I->getEnd(); 506 SourceLocation BegLoc = Range.getBegin(), EndLoc = Range.getEnd();
|
/external/clang/lib/StaticAnalyzer/Core/ |
PlistDiagnostics.cpp | 110 SM.getExpansionLoc(I->getStart().asRange().getBegin())); 115 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); 319 AddFID(FM, Fids, *SM, I->getBegin());
|
/external/clang/include/clang/Lex/ |
Token.h | 162 setLocation(R.getBegin());
|