/external/clang/lib/StaticAnalyzer/Checkers/ |
TraversalChecker.cpp | 48 SourceLocation Loc = Parent->getLocStart();
|
ObjCUnusedIVarsChecker.cpp | 101 SourceLocation L = FD->getLocStart();
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerHelpers.cpp | 20 if (S->getLocStart().isMacroID())
|
PathDiagnostic.cpp | 501 SourceLocation L = UseEnd ? S->getLocEnd() : S->getLocStart(); 528 L = Body->getLocStart(); 534 L = UseEnd ? Parent->getLocEnd() : Parent->getLocStart(); 585 return PathDiagnosticLocation(D->getLocStart(), SM, SingleLocK); 648 SourceLocation Loc = (*CS->body_begin())->getLocStart(); 765 if (S->getLocStart().isValid()) 824 return SourceRange(DS->getLocStart(), [all...] |
PlistDiagnostics.cpp | 446 D->getUniqueingDecl()->getBody()->getLocStart()), *SM); 453 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM);
|
/external/clang/unittests/Tooling/ |
RecursiveASTVisitorTest.cpp | 106 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart());
|
/external/clang/lib/CodeGen/ |
CGStmtOpenMP.cpp | 136 CD->getBody()->getLocStart()); [all...] |
/external/clang/lib/Sema/ |
SemaInit.cpp | 185 S.Diag(Str->getLocStart(), 191 S.Diag(Str->getLocStart(), [all...] |
SemaExprObjC.cpp | 56 Diag(S->getLocStart(), diag::err_cfstring_literal_not_string_constant) 113 Diag(S->getLocStart(), diag::err_no_nsconstant_string_class) << NSIdent 405 = InitializationKind::CreateCopy(Element->getLocStart(), 437 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) 439 << FixItHint::CreateInsertion(OrigElement->getLocStart(), "@"); 441 Result = S.BuildObjCNumericLiteral(OrigElement->getLocStart(), 453 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) 455 << FixItHint::CreateInsertion(OrigElement->getLocStart(), "@"); 457 Result = S.BuildObjCStringLiteral(OrigElement->getLocStart(), String); 467 S.Diag(Element->getLocStart(), diag::err_invalid_collection_element [all...] |
SemaOpenMP.cpp | [all...] |
SemaStmt.cpp | 853 checkCaseValue(*this, Lo->getLocStart(), LoVal, [all...] |
TreeTransform.h | [all...] |
SemaTemplate.cpp | 169 LookupResult R(*this, TName, Name.getLocStart(), LookupOrdinaryName); 687 D.getLocStart(), [all...] |
SemaOverload.cpp | [all...] |
SemaExpr.cpp | 592 FixItHint::CreateInsertion(OIRE->getLocStart(), "object_setClass(") << 606 FixItHint::CreateInsertion(OIRE->getLocStart(), "object_getClass(") << 665 FixItHint::CreateInsertion(OISA->getLocStart(), "object_getClass(") << [all...] |
SemaExprCXX.cpp | 357 Diag(Name.getLocStart(), diag::err_literal_operator_id_outside_namespace) [all...] |
/external/clang/include/clang/AST/ |
Comment.h | 218 SourceLocation getLocStart() const LLVM_READONLY { 354 return SourceRange(getLocStart().getLocWithOffset(-1), 569 setSourceRange(SourceRange(Content.front()->getLocStart(), 571 setLocation(Content.front()->getLocStart()); 665 return getLocStart().getLocWithOffset(1); 671 getLocStart().getLocWithOffset(1 + Name.size())); 691 setSourceRange(SourceRange(getLocStart(), NewLocEnd)); 707 setSourceRange(SourceRange(getLocStart(), NewLocEnd)); 1108 setSourceRange(SourceRange(Blocks.front()->getLocStart(), 1110 setLocation(Blocks.front()->getLocStart()); [all...] |
DeclarationName.h | 533 return SourceRange(getLocStart(), getLocEnd()); 535 SourceLocation getLocStart() const LLVM_READONLY { 540 return EndLoc.isValid() ? EndLoc : getLocStart();
|
/external/clang/lib/ARCMigrate/ |
TransRetainReleaseDealloc.cpp | 76 E->getLocStart(), E->getSourceRange()); 91 Pass.TA.reportError(err, rec->getLocStart()); 100 Pass.TA.reportError(err, rec->getLocStart()); 108 "properly retained", rec->getLocStart());
|
TransProtectedScope.cpp | 80 Cases.push_back(CaseInfo(Curr,SourceRange(Curr->getLocStart(), NextLoc))); 81 NextLoc = Curr->getLocStart();
|
ObjCMT.cpp | 271 commit.insertBefore(receiver->getLocStart(), "("); 295 SourceLocation EndLoc = RHS->getLocStart(); 548 commit.replace(CharSourceRange::getCharRange(Getter->getLocStart(), 555 SourceLocation BeginOfSetterDclLoc = Setter->getLocStart(); 722 SourceRange R(EnumDcl->getLocStart(), EnumDcl->getLocStart()); 728 SourceRange EnumDclRange(EnumDcl->getLocStart(), EndOfEnumDclLoc); 729 commit.insertFromRange(TypedefDcl->getLocStart(), EnumDclRange); 738 SourceRange TDRange(TypedefDcl->getLocStart(), EndTypedefDclLoc); 747 SourceLocation BeginOfEnumDclLoc = EnumDcl->getLocStart(); [all...] |
/external/clang/lib/Frontend/Rewrite/ |
RewriteObjC.cpp | 217 Diags.Report(Context->getFullLoc(Old->getLocStart()), RewriteFailedDiag) 234 Diags.Report(Context->getFullLoc(Old->getLocStart()), RewriteFailedDiag) 682 SourceLocation StartLoc = IFace->getLocStart(); 686 StartLoc == (*DI)->getLocStart()) 701 SourceLocation StartLoc = Proto->getLocStart(); 705 StartLoc == (*DI)->getLocStart()) 771 SourceLocation startLoc = PID->getLocStart(); [all...] |
RewriteModernObjC.cpp | 268 Diags.Report(Context->getFullLoc(Old->getLocStart()), RewriteFailedDiag) 285 Diags.Report(Context->getFullLoc(Old->getLocStart()), RewriteFailedDiag) 757 SourceLocation StartLoc = IFace->getLocStart(); 761 StartLoc == (*DI)->getLocStart()) 782 SourceLocation StartLoc = Proto->getLocStart(); 786 StartLoc == (*DI)->getLocStart()) [all...] |
/external/clang/lib/AST/ |
ExprCXX.cpp | 131 SourceLocation CXXScalarValueInitExpr::getLocStart() const { 478 SourceLocation CXXConstructExpr::getLocStart() const { 480 return cast<CXXTemporaryObjectExpr>(this)->getLocStart(); 514 return SourceRange(getArg(0)->getLocStart(), getOperatorLoc()); 518 return SourceRange(getArg(0)->getLocStart(), getRParenLoc()); 520 return SourceRange(getArg(0)->getLocStart(), getRParenLoc()); 524 return SourceRange(getArg(0)->getLocStart(), getArg(1)->getLocEnd()); 722 SourceLocation CXXFunctionalCastExpr::getLocStart() const { 723 return getTypeInfoAsWritten()->getTypeLoc().getLocStart(); [all...] |
Expr.cpp | 172 // See also Stmt.cpp:{getLocStart(),getLocEnd()}. 189 return static_cast<const E*>(expr)->getLocStart(); 438 SourceLocation DeclRefExpr::getLocStart() const { 441 return getNameInfo().getLocStart(); [all...] |