/external/clang/lib/ARCMigrate/ |
D | TransUnusedInitDelegate.cpp | 54 ME->getExprLoc())) { in VisitObjCMessageExpr() 57 ME->getExprLoc()); in VisitObjCMessageExpr()
|
D | TransARCAssign.cpp | 47 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator()
|
D | TransUnbridgedCasts.cpp | 109 SourceLocation loc = castExpr->getExprLoc(); in VisitCastExpr() 284 SourceLocation Loc = E->getExprLoc(); in getBlockMacroRanges() 339 SourceLocation CastLoc = E->getExprLoc(); in transformObjCToNonObjCCast()
|
D | TransRetainReleaseDealloc.cpp | 333 SourceLocation Loc = Msg->getExprLoc(); in checkForGCDOrXPC()
|
/external/clang/lib/Sema/ |
D | SemaPseudoObject.cpp | 627 S.Diag(RefExpr->getExprLoc(), diag::error_property_setter_ambiguous_use) in findSetter() 1031 Diag(FromE->getExprLoc(), diag::err_objc_subscript_pointer) in CheckSubscriptingKind() 1032 << T << FixItHint::CreateInsertion(FromE->getExprLoc(), "@"); in CheckSubscriptingKind() 1034 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion) in CheckSubscriptingKind() 1040 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind() 1074 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion) in CheckSubscriptingKind() 1078 Diag(FromE->getExprLoc(), diag::err_objc_multiple_subscript_type_conversion) in CheckSubscriptingKind() 1133 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) in findAtIndexGetter() 1184 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found) in findAtIndexGetter() 1198 S.Diag(RefExpr->getKeyExpr()->getExprLoc(), in findAtIndexGetter() [all …]
|
D | SemaOpenMP.cpp | 498 SourceLocation ELoc = VarRef->getExprLoc(); in EndOpenMPDSABlock() 729 SourceLocation ILoc = DE->getExprLoc(); in CheckOMPThreadPrivateDecl() 786 SemaRef.Diag(DVar.RefExpr->getExprLoc(), diag::note_omp_explicit_dsa) in ReportOriginalDSA() 847 SourceLocation ELoc = E->getExprLoc(); in VisitDeclRefExpr() 1195 Diag(P.second->getExprLoc(), diag::err_omp_no_dsa_for_variable) in ActOnOpenMPExecutableDirective() 1360 SemaRef.Diag(NewStep->getExprLoc(), in SetStep() 1601 SemaRef.Diag(NestedLoopCountExpr->getExprLoc(), in CheckOpenMPIterationSpace() 1948 Condition->getExprLoc(), Condition); in ActOnOpenMPIfClause() 2045 Diag(E->getExprLoc(), diag::err_omp_negative_expression_in_clause) in VerifyPositiveIntegerConstantInClause() 2397 SourceLocation ELoc = RefExpr->getExprLoc(); in ActOnOpenMPPrivateClause() [all …]
|
D | SemaStmt.cpp | 42 FE = ActOnFinishFullExpr(FE.get(), FE.get()->getExprLoc(), in ActOnExprStmt() 187 SourceLocation ExprLoc = E->IgnoreParens()->getExprLoc(); in DiagnoseUnusedExprResult() 378 LHSVal = ActOnFinishFullExpr(LHSVal, LHSVal->getExprLoc(), false, in ActOnCaseStmt() 381 RHSVal = ActOnFinishFullExpr(RHSVal, RHSVal->getExprLoc(), false, in ActOnCaseStmt() 1011 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition) in ActOnFinishSwitchStmt() 1050 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1064 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1076 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1118 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt() 1123 Diag(CondExpr->getExprLoc(), TheDefaultStmt in ActOnFinishSwitchStmt() [all …]
|
D | SemaChecking.cpp | 302 Diag(TheCall->getExprLoc(), diag::err_builtin_requires_language) in CheckBuiltinFunctionCall() 2677 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag) in EmitFormatDiagnostic() 3915 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType; in CheckAbsoluteValueFunction() 3916 Diag(Call->getExprLoc(), diag::note_remove_abs) in CheckAbsoluteValueFunction() 3937 Diag(Call->getExprLoc(), diag::warn_abs_too_small) in CheckAbsoluteValueFunction() 3943 emitReplacement(*this, Call->getExprLoc(), in CheckAbsoluteValueFunction() 3956 Diag(Call->getExprLoc(), diag::warn_wrong_absolute_value_type) in CheckAbsoluteValueFunction() 3959 emitReplacement(*this, Call->getExprLoc(), in CheckAbsoluteValueFunction() 4100 SizeOfArg->getExprLoc())) { in CheckMemaccessArguments() 4123 SourceLocation SL = SizeOfArg->getExprLoc(); in CheckMemaccessArguments() [all …]
|
D | SemaExprCXX.cpp | 724 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand() 725 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand() 727 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand() 2438 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor, in ActOnCXXDelete() 2669 ICS.DiagnoseAmbiguousConversion(*this, From->getExprLoc(), in PerformImplicitConversion() 4965 MarkFunctionReferenced(E->getExprLoc(), Destructor); in MaybeBindToTemporary() 4966 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary() 4969 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary() 5121 MarkFunctionReferenced(Bind->getExprLoc(), Destructor); in ActOnDecltypeExpression() 5122 CheckDestructorAccess(Bind->getExprLoc(), Destructor, in ActOnDecltypeExpression() [all …]
|
D | SemaCast.cpp | 1671 Self.Diag(SrcExpr.get()->getExprLoc(), in DiagnoseCastOfObjCSEL() 2137 SrcExpr.get()->getExprLoc())) in DiagnoseBadFunctionCast() 2162 Self.Diag(SrcExpr.get()->getExprLoc(), in DiagnoseBadFunctionCast() 2265 Self.Diag(SrcExpr.get()->getExprLoc(), in CheckCStyleCast() 2299 Self.Diag(SrcExpr.get()->getExprLoc(), diag::err_cast_selector_expr); in CheckCStyleCast() 2308 Self.Diag(SrcExpr.get()->getExprLoc(), in CheckCStyleCast()
|
D | SemaExpr.cpp | 448 Diag(E->getExprLoc(), diag::err_opencl_taking_function_address); in DefaultFunctionArrayConversion() 520 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign) << in DiagnoseDirectIsaAccess() 534 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use) << in DiagnoseDirectIsaAccess() 582 Diag(E->getExprLoc(), diag::err_opencl_half_load_store) in DefaultLvalueConversion() 593 Diag(E->getExprLoc(), diag::warn_objc_isa_use) << in DefaultLvalueConversion() 598 Diag(E->getExprLoc(), diag::warn_objc_isa_use); in DefaultLvalueConversion() 752 E->getExprLoc(), E); in DefaultArgumentPromotion() 904 RequireCompleteType(E->getExprLoc(), E->getType(), in DefaultVariadicArgumentPromotion() 3411 return CheckVecStepTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand() 3415 if (!CheckExtensionTraitOperandType(*this, ExprTy, E->getExprLoc(), in CheckUnaryExprOrTypeTraitOperand() [all …]
|
D | SemaTemplateInstantiate.cpp | 1220 ValueDecl *VD = cast_or_null<ValueDecl>(TransformDecl(E->getExprLoc(), D)); in TransformFunctionParmPackExpr() 1223 return RebuildParmVarDeclRefExpr(cast<ParmVarDecl>(VD), E->getExprLoc()); in TransformFunctionParmPackExpr() 1237 cast_or_null<ParmVarDecl>(TransformDecl(E->getExprLoc(), *I)); in TransformFunctionParmPackExpr() 1265 E->getExprLoc(), *Pack); in TransformFunctionParmPackRefExpr() 1275 E->getExprLoc()); in TransformFunctionParmPackRefExpr()
|
D | SemaOverload.cpp | 1132 OverloadCandidateSet Conversions(From->getExprLoc(), in TryUserDefinedConversion() 2644 DiagRuntimeBehavior(From->getExprLoc(), From, in CheckPointerConversion() 2648 Diag(From->getExprLoc(), diag::warn_non_literal_null_pointer) in CheckPointerConversion() 2661 From->getExprLoc(), in CheckPointerConversion() 2781 Diag(From->getExprLoc(), diag::err_ambiguous_memptr_conv) in CheckMemberPointerConversion() 2787 Diag(From->getExprLoc(), diag::err_memptr_conv_via_virtual) in CheckMemberPointerConversion() 2794 CheckBaseClassAccess(From->getExprLoc(), FromClass, ToClass, in CheckMemberPointerConversion() 3054 S.RequireCompleteType(From->getExprLoc(), ToType, 0); in IsUserDefinedConversion() 3250 OverloadCandidateSet CandidateSet(From->getExprLoc(), in DiagnoseMultipleUserDefinedConversion() 5200 SemaRef.CheckMemberOperatorAccess(From->getExprLoc(), From, nullptr, Found); in diagnoseNoViableConversion() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 73 return EmitLoadOfLValue(CGF.EmitLValue(E), E->getExprLoc()); in EmitLoadOfLValue() 117 E->getExprLoc()); in VisitDeclRefExpr() 135 return EmitLoadOfLValue(CGF.getOpaqueLValueMapping(E), E->getExprLoc()); in VisitOpaqueValueExpr() 383 E->getExprLoc()); in VisitStmtExpr() 434 Op->getExprLoc()); in EmitCast() 661 ComplexPairTy LHSVal = EmitLoadOfLValue(LHS, E->getExprLoc()); in EmitCompoundAssignLValue() 664 llvm::Value *LHSVal = CGF.EmitLoadOfScalar(LHS, E->getExprLoc()); in EmitCompoundAssignLValue() 701 return EmitLoadOfLValue(LV, E->getExprLoc()); in EmitCompoundAssign() 736 return EmitLoadOfLValue(LV, E->getExprLoc()); in VisitBinAssign() 828 E->getExprLoc()); in VisitVAArgExpr()
|
D | CGAtomic.cpp | 637 E->getExprLoc()); in EmitAtomicExpr() 649 E->getExprLoc()); in EmitAtomicExpr() 660 E->getExprLoc()); in EmitAtomicExpr() 674 E->getExprLoc()); in EmitAtomicExpr() 681 E->getExprLoc()); in EmitAtomicExpr() 688 E->getExprLoc()); in EmitAtomicExpr() 695 E->getExprLoc()); in EmitAtomicExpr() 702 E->getExprLoc()); in EmitAtomicExpr() 736 return convertTempToRValue(Dest, E->getType(), E->getExprLoc()); in EmitAtomicExpr() 791 return convertTempToRValue(OrigDest, E->getType(), E->getExprLoc()); in EmitAtomicExpr() [all …]
|
D | CGExprScalar.cpp | 99 E->getExprLoc()); in EmitLoadOfLValue() 221 return EmitLoadOfLValue(CGF.getOpaqueLValueMapping(E), E->getExprLoc()); in VisitOpaqueValueExpr() 232 E->getExprLoc()); in VisitDeclRefExpr() 256 Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal(); in VisitObjCIsaExpr() 849 StaticData.push_back(CGF.EmitCheckSourceLocation(Info.E->getExprLoc())); in EmitBinOpCheck() 1291 CE->getExprLoc()); in VisitCastExpr() 1332 CGF.EmitTypeCheck(CodeGenFunction::TCK_DowncastPointer, CE->getExprLoc(), in VisitCastExpr() 1512 E->getExprLoc()); in VisitStmtExpr() 1588 value = EmitLoadOfLValue(LV, E->getExprLoc()); in EmitScalarPrePostIncDec() 1600 value = EmitLoadOfLValue(LV, E->getExprLoc()); in EmitScalarPrePostIncDec() [all …]
|
D | CGExprCXX.cpp | 188 CE->getExprLoc(), This); in EmitCXXMemberCallExpr() 201 EmitCXXMemberCall(MD, CE->getExprLoc(), Callee, ReturnValue, This, in EmitCXXMemberCallExpr() 228 return EmitCXXMemberCall(MD, CE->getExprLoc(), Callee, ReturnValue, This, in EmitCXXMemberCallExpr() 260 EmitTypeCheck(TCK_MemberCall, E->getExprLoc(), This, in EmitCXXMemberPointerCallExpr() 301 return EmitCXXMemberCall(MD, E->getExprLoc(), Callee, ReturnValue, This, in EmitCXXOperatorMemberCallExpr()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTest.cpp | 82 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc()); in TraverseCXXOperatorCallExpr() 91 Match("", Parens->getExprLoc()); in VisitParenExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 310 if ((Expr1->getExprLoc().isMacroID()) || (Expr2->getExprLoc().isMacroID())) in isIdenticalStmt()
|
/external/clang/lib/Analysis/ |
D | ThreadSafety.cpp | 575 Loc = DeclExp->getExprLoc(); in warnInvalidLock() 1789 SourceLocation Loc = Exp->getExprLoc(); in getEdgeLockset() 1867 LK, Exp->getExprLoc(), in warnIfMutexNotHeld() 1872 LK, Exp->getExprLoc()); in warnIfMutexNotHeld() 1879 Exp->getExprLoc()); in warnIfMutexNotHeld() 1895 DiagKind, D->getNameAsString(), Mutex.toString(), Exp->getExprLoc()); in warnIfMutexHeld() 1931 Exp->getExprLoc()); in checkAccess() 1964 Exp->getExprLoc()); in checkPtAccess() 1982 SourceLocation Loc = Exp->getExprLoc(); in handleCall()
|
D | Consumed.cpp | 636 Call->getArg(Index)->getExprLoc(), in handleCall() 661 checkCallability(PInfo, FunD, Call->getExprLoc()); in handleCall() 1404 BTE->getExprLoc()); in run()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 227 SourceLocation getExprLoc() const LLVM_READONLY; 847 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function 848 if (SourceExpr) return SourceExpr->getExprLoc(); in getExprLoc() 1747 SourceLocation getExprLoc() const LLVM_READONLY { return Loc; } in getExprLoc() function 2128 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function 2129 return getBase()->getExprLoc(); in getExprLoc() 2553 SourceLocation getExprLoc() const LLVM_READONLY { return MemberLoc; } in getExprLoc() function 2951 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; } in getExprLoc() function 4709 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function 4710 return getSyntacticForm()->getExprLoc(); in getExprLoc()
|
D | ExprObjC.h | 1439 SourceLocation getExprLoc() const LLVM_READONLY { return IsaMemberLoc; } 1512 SourceLocation getExprLoc() const LLVM_READONLY { 1513 return getSubExpr()->getExprLoc();
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 625 return Diag(E->getExprLoc(), DiagId, ExtraNotes); in Diag() 1238 Info.Note(Base.get<const Expr*>()->getExprLoc(), in NoteLValueLocation() 1616 Info.Ctx.getDiagnostics().Report(E->getExprLoc(), in CheckedIntArithmetic() 1891 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfPointee)) in HandleLValueArrayAdjustment() 1910 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfComponent)) in HandleLValueComplexElement() 2562 Info.Note(MTE->getExprLoc(), diag::note_constexpr_temporary_here); in findCompleteObject() 2582 Info.Note(Base->getExprLoc(), diag::note_constexpr_temporary_here); in findCompleteObject() 4054 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition) || in VisitCallExpr() 4055 !HandleFunctionCall(E->getExprLoc(), Definition, This, Args, Body, in VisitCallExpr() 4457 !CheckConstantExpression(Info, E->getExprLoc(), Type, *Value))) { in VisitMaterializeTemporaryExpr() [all …]
|
D | Expr.cpp | 179 return static_cast<const E*>(expr)->getExprLoc(); in getExprLocImpl() 193 SourceLocation Expr::getExprLoc() const { in getExprLoc() function in Expr 200 case Stmt::type##Class: return getExprLocImpl<type>(this, &type::getExprLoc); in getExprLoc() 1975 Loc = getExprLoc(); in isUnusedResultAWarning() 2159 Loc = getExprLoc(); in isUnusedResultAWarning() 2167 Loc = getExprLoc(); in isUnusedResultAWarning() 2175 Loc = getExprLoc(); in isUnusedResultAWarning() 2188 Loc = getExprLoc(); in isUnusedResultAWarning()
|