Searched refs:getExprLoc (Results 1 - 25 of 39) sorted by relevance

12

/external/clang/lib/ARCMigrate/
H A DTransUnusedInitDelegate.cpp54 ME->getExprLoc())) {
57 ME->getExprLoc());
H A DTransAPIUses.cpp94 E->getInstanceReceiver()->getExprLoc())) {
99 E->getInstanceReceiver()->getExprLoc());
H A DTransARCAssign.cpp47 SourceLocation OrigLoc = E->getExprLoc();
H A DTransRetainReleaseDealloc.cpp134 clearDiagnostics(rec->getExprLoc());
248 SourceLocation Loc = Msg->getExprLoc();
H A DTransUnbridgedCasts.cpp92 SourceLocation loc = castExpr->getExprLoc();
/external/clang/lib/Sema/
H A DSemaPseudoObject.cpp545 S.Diag(RefExpr->getExprLoc(), diag::error_property_setter_ambiguous_use)
899 Diag(FromE->getExprLoc(), diag::err_objc_subscript_pointer)
900 << T << FixItHint::CreateInsertion(FromE->getExprLoc(), "@");
902 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion)
908 if (RequireCompleteType(FromE->getExprLoc(), T,
945 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion)
949 Diag(FromE->getExprLoc(), diag::err_objc_multiple_subscript_type_conversion)
1004 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1057 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found)
1071 S.Diag(RefExpr->getKeyExpr()->getExprLoc(),
[all...]
H A DSemaStmt.cpp159 if (SourceMgr.isInSystemMacro(E->getExprLoc()) ||
930 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition)
968 Diag(CI->second->getLHS()->getExprLoc(), diag::warn_not_in_enum)
979 Diag(RI->second->getLHS()->getExprLoc(), diag::warn_not_in_enum)
989 Diag(RI->second->getRHS()->getExprLoc(), diag::warn_not_in_enum)
1031 Diag(CondExpr->getExprLoc(), TheDefaultStmt
1036 Diag(CondExpr->getExprLoc(), TheDefaultStmt
1041 Diag(CondExpr->getExprLoc(), TheDefaultStmt
1046 Diag(CondExpr->getExprLoc(), TheDefaultStmt
1073 if (Diags.getDiagnosticLevel(DIAG, SrcExpr->getExprLoc())
[all...]
H A DSemaCast.cpp1488 Self.Diag(SrcExpr.get()->getExprLoc(),
1911 SrcExpr.get()->getExprLoc())
1937 Self.Diag(SrcExpr.get()->getExprLoc(),
2025 Self.Diag(SrcExpr.get()->getExprLoc(),
2059 Self.Diag(SrcExpr.get()->getExprLoc(), diag::err_cast_selector_expr);
2068 Self.Diag(SrcExpr.get()->getExprLoc(),
H A DSemaChecking.cpp2279 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag)
3117 SizeOfArg->getExprLoc())) {
3139 SourceLocation SL = SizeOfArg->getExprLoc();
3175 DiagRuntimeBehavior(LenExpr->getExprLoc(), Dest,
3200 Dest->getExprLoc(), Dest,
3209 Dest->getExprLoc(), Dest,
3217 Dest->getExprLoc(), Dest,
4442 S.DiagRuntimeBehavior(E->getExprLoc(), E,
4448 S.Diag(E->getExprLoc(), diag)
4481 S.Diag(FL->getExprLoc(), dia
[all...]
H A DSemaExprCXX.cpp658 MarkFunctionReferenced(E->getExprLoc(), Destructor);
659 CheckDestructorAccess(E->getExprLoc(), Destructor,
661 DiagnoseUseOfDecl(Destructor, E->getExprLoc());
2237 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor,
2469 ICS.DiagnoseAmbiguousConversion(*this, From->getExprLoc(),
4729 MarkFunctionReferenced(E->getExprLoc(), Destructor);
4730 CheckDestructorAccess(E->getExprLoc(), Destructor,
4733 DiagnoseUseOfDecl(Destructor, E->getExprLoc());
4881 MarkFunctionReferenced(Bind->getExprLoc(), Destructor);
4882 CheckDestructorAccess(Bind->getExprLoc(), Destructo
[all...]
H A DSemaOverload.cpp1049 OverloadCandidateSet Conversions(From->getExprLoc());
2569 DiagRuntimeBehavior(From->getExprLoc(), From,
2573 Diag(From->getExprLoc(), diag::warn_non_literal_null_pointer)
2586 From->getExprLoc(),
2706 Diag(From->getExprLoc(), diag::err_ambiguous_memptr_conv)
2712 Diag(From->getExprLoc(), diag::err_memptr_conv_via_virtual)
2719 CheckBaseClassAccess(From->getExprLoc(), FromClass, ToClass,
3158 OverloadCandidateSet CandidateSet(From->getExprLoc());
5139 CheckMemberOperatorAccess(From->getExprLoc(), From, 0, Found);
5157 CheckMemberOperatorAccess(From->getExprLoc(), Fro
[all...]
H A DSemaExprObjC.cpp1833 SourceLocation MsgLoc = Msg->getExprLoc();
2398 Diag(Args[0]->getExprLoc(), diag::note_used_here);
2841 (castRange.isValid() ? castRange.getBegin() : castExpr->getExprLoc());
2891 DiagnosticBuilder DiagB = S.Diag(br ? castExpr->getExprLoc() : noteLoc,
2924 DiagnosticBuilder DiagB = S.Diag(br ? castExpr->getExprLoc() : noteLoc,
2975 : castExpr->getExprLoc());
H A DSemaExpr.cpp597 E->getExprLoc(),
718 RequireCompleteType(E->getExprLoc(), E->getType(),
2954 return CheckVecStepTraitOperandType(*this, ExprTy, E->getExprLoc(),
2958 if (!CheckExtensionTraitOperandType(*this, ExprTy, E->getExprLoc(),
2972 if (CheckObjCTraitOperandConstraints(*this, ExprTy, E->getExprLoc(),
2982 Diag(E->getExprLoc(), diag::warn_sizeof_array_param)
3054 S.Diag(E->getExprLoc(), diag::err_sizeof_alignof_bitfield)
3119 Diag(E->getExprLoc(), diag::err_sizeof_alignof_bitfield) << 0;
4495 Diag(PLE->getExprLoc(), diag::err_altivec_empty_initializer);
4567 Diag(E->getExprLoc(),
[all...]
H A DSemaTemplate.cpp3600 SourceLocation DiagLoc = Arg->getExprLoc();
3640 S.Diag(Arg->getExprLoc(), diag::err_template_arg_wrongtype_null_constant)
3650 S.Diag(Arg->getExprLoc(), diag::err_template_arg_untyped_null_constant)
3681 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null);
3978 S.Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null);
4418 Diag(Arg->getExprLoc(), diag::err_template_arg_not_convertible)
4427 Diag(Arg->getExprLoc(), diag::warn_cxx98_compat_template_arg_null);
7250 CurrentInstantiationRebuilder Rebuilder(*this, E->getExprLoc(),
/external/clang/unittests/Tooling/
H A DRecursiveASTVisitorTest.cpp67 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc());
76 Match("", Parens->getExprLoc());
/external/clang/lib/Analysis/
H A DThreadSafety.cpp548 Loc = DeclExp->getExprLoc();
1681 SourceLocation Loc = Exp->getExprLoc();
1772 Exp->getExprLoc(), &PartMatchName);
1776 Exp->getExprLoc());
1783 Exp->getExprLoc());
1798 Exp->getExprLoc());
1820 Exp->getExprLoc());
1839 Exp->getExprLoc());
1935 SourceLocation Loc = Exp->getExprLoc();
/external/clang/lib/AST/
H A DExprConstant.cpp471 return Diag(E->getExprLoc(), DiagId, ExtraNotes);
956 Info.Note(Base.get<const Expr*>()->getExprLoc(),
1393 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfPointee))
1412 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfComponent))
1847 Info.Note(Base->getExprLoc(), diag::note_constexpr_temporary_here);
2556 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition) ||
2557 !HandleFunctionCall(E->getExprLoc(), Definition, This, Args, Body,
3464 if (CheckTrivialDefaultConstructor(Info, E->getExprLoc(), FD, ZeroInit)) {
3484 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition))
3497 return HandleConstructorCall(E->getExprLoc(), Thi
[all...]
H A DExpr.cpp111 // a more specific implementation of getExprLoc().
116 /// implementation of getExprLoc.
120 return static_cast<const E*>(expr)->getExprLoc();
124 /// a custom implementation of getExprLoc. Overload resolution
134 SourceLocation Expr::getExprLoc() const { function in class:Expr
141 case Stmt::type##Class: return getExprLocImpl<type>(this, &type::getExprLoc);
1807 Loc = getExprLoc();
1966 Loc = getExprLoc();
1974 Loc = getExprLoc();
1982 Loc = getExprLoc();
[all...]
H A DExprClassification.cpp561 Loc = CE->getExprLoc();
H A DMicrosoftMangle.cpp1349 Diags.Report(VAT->getSizeExpr()->getExprLoc(), DiagID)
1359 Diags.Report(DSAT->getSizeExpr()->getExprLoc(), DiagID)
/external/clang/include/clang/AST/
H A DExpr.h178 /// getExprLoc - Return the preferred location for the arrow when diagnosing
180 SourceLocation getExprLoc() const LLVM_READONLY;
745 SourceLocation getExprLoc() const LLVM_READONLY {
746 if (SourceExpr) return SourceExpr->getExprLoc();
1629 SourceLocation getExprLoc() const LLVM_READONLY { return Loc; }
2013 SourceLocation getExprLoc() const LLVM_READONLY { return getBase()->getExprLoc(); }
2419 SourceLocation getExprLoc() const LLVM_READONLY { return MemberLoc; }
2812 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; }
4456 SourceLocation getExprLoc() cons
[all...]
H A DExprObjC.h1405 SourceLocation getExprLoc() const LLVM_READONLY { return IsaMemberLoc; }
1477 SourceLocation getExprLoc() const LLVM_READONLY {
1478 return getSubExpr()->getExprLoc();
/external/clang/lib/CodeGen/
H A DCGDeclCXX.cpp329 FunctionArgList(), D->getInit()->getExprLoc());
/external/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp546 SourceLocation DomLoc = CE->getArg(0)->getExprLoc();
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp933 Diags.Report(Msg->getExprLoc(), diagID) << OrigTy << FinalTy

Completed in 427 milliseconds

12