/external/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 72 SourceLocation Loc = PPE->getSourceRange().getBegin(); 131 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 137 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin())) 163 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 165 unsigned Begin = findBeginLocalPreprocessedEntity(Range.getBegin()); 242 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); 249 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); 254 PreprocessedEntities.back()->getSourceRange().getBegin())) && 263 PreprocessedEntities.back()->getSourceRange().getBegin())) { 291 (*I)->getSourceRange().getBegin())) { [all...] |
H A D | PPConditionalDirectiveRecord.cpp | 31 Range.getBegin(), CondDirectiveLoc::Comp(SourceMgr));
|
/external/clang/lib/Edit/ |
H A D | 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...] |
H A D | 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/Sema/ |
H A D | SemaCast.cpp | 335 = (CT == CT_CStyle)? InitializationKind::CreateCStyleCast(range.getBegin(), 377 S.Diag(range.getBegin(), msg) 395 S.Diag(opRange.getBegin(), msg) << castType 558 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ref_or_ptr) 568 if (Self.RequireCompleteType(OpRange.getBegin(), DestPointee, 575 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_class) 591 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ptr) 598 Self.Diag(OpRange.getBegin(), diag::err_bad_cxx_cast_rvalue) 613 if (Self.RequireCompleteType(OpRange.getBegin(), SrcPointee, 620 Self.Diag(OpRange.getBegin(), dia [all...] |
H A D | 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); 212 S.Diag(A.getRange().getBegin(), diag::err_attribute_invalid_on_stmt) 231 return ActOnAttributedStmt(Range.getBegin(), Attrs, S);
|
H A D | SemaExprObjC.cpp | 467 SR.getBegin(), LookupOrdinaryName); 478 Diag(SR.getBegin(), diag::err_undeclared_nsstring); 482 Diag(SR.getBegin(), diag::err_undeclared_nsstring); 519 if (!validateBoxingMethod(*this, SR.getBegin(), NSStringDecl, 562 BoxingMethod = getNSNumberFactoryMethod(*this, SR.getBegin(), ValueType); 567 Diag(SR.getBegin(), diag::err_objc_incomplete_boxed_expression_type) 572 BoxingMethod = getNSNumberFactoryMethod(*this, SR.getBegin(), 578 Diag(SR.getBegin(), diag::err_objc_illegal_boxed_expression_type) 637 SR.getBegin(), 648 Diag(SR.getBegin(), dia [all...] |
/external/clang/include/clang/Rewrite/Core/ |
H A D | HTMLRewrite.h | 42 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag);
|
H A D | Rewriter.h | 222 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 227 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 240 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr);
|
/external/clang/lib/ARCMigrate/ |
H A D | TransUnusedInitDelegate.cpp | 59 Pass.TA.insert(ExprRange.getBegin(), "if (!(self = ");
|
H A D | PlistReporter.cpp | 54 AddFID(FM, Fids, SM, RI->getBegin());
|
H A D | 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/AST/ |
H A D | RawCommentList.cpp | 73 if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) { 99 SourceMgr.getDecomposedLoc(Range.getBegin()); 129 Range.getBegin(), 151 getSourceRange().getBegin(),
|
H A D | MicrosoftMangle.cpp | 1507 Diags.Report(Range.getBegin(), DiagID) 1709 Diags.Report(Range.getBegin(), DiagID) 1836 Diags.Report(Range.getBegin(), DiagID) 1846 Diags.Report(Range.getBegin(), DiagID) 1891 Diags.Report(Range.getBegin(), DiagID) 1934 Diags.Report(Range.getBegin(), DiagID) 1942 Diags.Report(Range.getBegin(), DiagID) 1978 Diags.Report(Range.getBegin(), DiagID) 1987 Diags.Report(Range.getBegin(), DiagID) 1997 Diags.Report(Range.getBegin(), DiagI [all...] |
/external/clang/lib/Rewrite/Frontend/ |
H A D | FixItRewriter.cpp | 69 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); 150 commit.insertFromRange(Hint.RemoveRange.getBegin(), 157 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) 160 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
|
/external/clang/lib/Rewrite/Core/ |
H A D | Rewriter.cpp | 130 if (!isRewritable(Range.getBegin()) || 136 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID); 173 if (!isRewritable(Range.getBegin()) || 179 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID); 191 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); 318 if (!isRewritable(range.getBegin())) return true; 321 SourceLocation start = range.getBegin(); 325 unsigned newOffs = getLocationOffsetAndFileID(replacementRange.getBegin(), 363 if (!isRewritable(range.getBegin())) return true; 370 StartOff = getLocationOffsetAndFileID(range.getBegin(), StartFileI [all...] |
/external/clang/lib/Format/ |
H A D | WhitespaceManager.cpp | 24 C1.OriginalWhitespaceRange.getBegin(), 25 C2.OriginalWhitespaceRange.getBegin()); 105 SourceMgr.getFileOffset(Changes[i].OriginalWhitespaceRange.getBegin()); 283 SourceMgr.getFileOffset(Range.getBegin()); 285 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()),
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 200 SourceLocation getBegin() const { return B; } function in class:clang::SourceLocation::SourceRange 253 SourceLocation getBegin() const { return Range.getBegin(); } function in class:clang::SourceLocation::CharSourceRange
|
/external/clang/include/clang/AST/ |
H A D | Attr.h | 89 SourceLocation getLocation() const { return Range.getBegin(); }
|
H A D | NestedNameSpecifier.h | 269 return getSourceRange().getBegin(); 281 return getLocalSourceRange().getBegin();
|
H A D | RawCommentList.h | 111 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
|
/external/deqp/framework/randomshaders/ |
H A D | rsgVariableManager.hpp | 229 ValueEntryIterator<Filter> getBegin (Filter filter = Filter()) const; 260 ValueEntryIterator<Filter> VariableManager::getBegin (Filter filter) const function in class:rsg::VariableManager
|
/external/clang/include/clang/Sema/ |
H A D | 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());
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | PlistDiagnostics.cpp | 109 SourceLocation StartEdge = I->getStart().asRange().getBegin(); 114 SourceLocation EndEdge = I->getEnd().asRange().getBegin(); 319 AddFID(FM, Fids, *SM, I->getBegin());
|
/external/clang/include/clang/Lex/ |
H A D | Token.h | 144 setLocation(R.getBegin());
|