/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 602 Context, CurContext, DE->getLocStart(), DE->getExprLoc(), in EndOpenMPDSABlock() 825 SourceLocation ILoc = DE->getExprLoc(); in CheckOMPThreadPrivateDecl() 895 SemaRef.Diag(DVar.RefExpr->getExprLoc(), diag::note_omp_explicit_dsa) in ReportOriginalDSA() 965 auto ELoc = E->getExprLoc(); in VisitDeclRefExpr() 1882 Diag(P.second->getExprLoc(), diag::err_omp_no_dsa_for_variable) in ActOnOpenMPExecutableDirective() 2077 SemaRef.Diag(NewStep->getExprLoc(), in SetStep() 2086 NewStep = SemaRef.CreateBuiltinUnaryOp(NewStep->getExprLoc(), UO_Minus, in SetStep() 2437 SemaRef.Diag(NestedLoopCountExpr->getExprLoc(), in CheckOpenMPIterationSpace() 3407 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation() 3409 NoteLoc = X->getExprLoc(); in checkBinaryOperation() [all …]
|
D | SemaPseudoObject.cpp | 631 S.Diag(RefExpr->getExprLoc(), diag::error_property_setter_ambiguous_use) in findSetter() 1039 Diag(FromE->getExprLoc(), diag::err_objc_subscript_pointer) in CheckSubscriptingKind() 1040 << T << FixItHint::CreateInsertion(FromE->getExprLoc(), "@"); in CheckSubscriptingKind() 1042 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion) in CheckSubscriptingKind() 1048 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind() 1078 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion) in CheckSubscriptingKind() 1082 Diag(FromE->getExprLoc(), diag::err_objc_multiple_subscript_type_conversion) in CheckSubscriptingKind() 1137 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) in findAtIndexGetter() 1188 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found) in findAtIndexGetter() 1202 S.Diag(RefExpr->getKeyExpr()->getExprLoc(), in findAtIndexGetter() [all …]
|
D | SemaChecking.cpp | 219 SemaRef.Diag(TheCall->getExprLoc(), DiagID) in SemaBuiltinSEHScopeCheck() 459 Diag(TheCall->getExprLoc(), diag::err_builtin_requires_language) in CheckBuiltinFunctionCall() 1121 S.Diag(FormatExpr->getExprLoc(), diag::warn_objc_cdirective_format_string) in DiagnoseCStringFormatDirectiveInCFAPI() 3251 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag) in EmitFormatDiagnostic() 4605 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType; in CheckAbsoluteValueFunction() 4606 Diag(Call->getExprLoc(), diag::note_remove_abs) in CheckAbsoluteValueFunction() 4627 Diag(Call->getExprLoc(), diag::warn_abs_too_small) in CheckAbsoluteValueFunction() 4633 emitReplacement(*this, Call->getExprLoc(), in CheckAbsoluteValueFunction() 4646 Diag(Call->getExprLoc(), diag::warn_wrong_absolute_value_type) in CheckAbsoluteValueFunction() 4649 emitReplacement(*this, Call->getExprLoc(), in CheckAbsoluteValueFunction() [all …]
|
D | SemaStmt.cpp | 46 FE = ActOnFinishFullExpr(FE.get(), FE.get()->getExprLoc(), in ActOnExprStmt() 197 SourceLocation ExprLoc = E->IgnoreParens()->getExprLoc(); in DiagnoseUnusedExprResult() 409 LHS = ActOnFinishFullExpr(LHSVal, LHSVal->getExprLoc(), false, in ActOnCaseStmt() 414 auto RHS = RHSVal ? ActOnFinishFullExpr(RHSVal, RHSVal->getExprLoc(), false, in ActOnCaseStmt() 1048 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition) in ActOnFinishSwitchStmt() 1082 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1093 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1103 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 1142 DiagnosticBuilder DB = Diag(CondExpr->getExprLoc(), in ActOnFinishSwitchStmt() 1172 if (Diags.isIgnored(diag::warn_not_in_enum_assignment, SrcExpr->getExprLoc())) in DiagnoseAssignmentEnum() [all …]
|
D | SemaExprCXX.cpp | 456 Diag(E->getExprLoc(), WasEvaluated in BuildCXXTypeId() 775 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand() 776 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand() 778 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand() 803 MarkFunctionReferenced(E->getExprLoc(), CD); in CheckCXXThrowOperand() 2541 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor, in ActOnCXXDelete() 2776 ICS.DiagnoseAmbiguousConversion(*this, From->getExprLoc(), in PerformImplicitConversion() 3047 RequireCompleteType(From->getExprLoc(), FromType, 0); in PerformImplicitConversion() 5115 MarkFunctionReferenced(E->getExprLoc(), Destructor); in MaybeBindToTemporary() 5116 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary() [all …]
|
D | SemaExpr.cpp | 496 Diag(E->getExprLoc(), diag::err_opencl_taking_function_address); in DefaultFunctionArrayConversion() 568 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign) << in DiagnoseDirectIsaAccess() 582 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use) << in DiagnoseDirectIsaAccess() 630 Diag(E->getExprLoc(), diag::err_opencl_half_load_store) in DefaultLvalueConversion() 641 Diag(E->getExprLoc(), diag::warn_objc_isa_use) << in DefaultLvalueConversion() 646 Diag(E->getExprLoc(), diag::warn_objc_isa_use); in DefaultLvalueConversion() 800 E->getExprLoc(), E); in DefaultArgumentPromotion() 956 RequireCompleteType(E->getExprLoc(), E->getType(), in DefaultVariadicArgumentPromotion() 1342 Diag(ControllingExpr->getExprLoc(), in CreateGenericSelectionExpr() 3162 Diag(E->getExprLoc(), diag::err_pragma_loop_invalid_argument_type) << QT; in CheckLoopHintExpr() [all …]
|
D | SemaCast.cpp | 1708 Self.Diag(SrcExpr.get()->getExprLoc(), in DiagnoseCastOfObjCSEL() 2174 SrcExpr.get()->getExprLoc())) in DiagnoseBadFunctionCast() 2199 Self.Diag(SrcExpr.get()->getExprLoc(), in DiagnoseBadFunctionCast() 2302 Self.Diag(SrcExpr.get()->getExprLoc(), in CheckCStyleCast() 2336 Self.Diag(SrcExpr.get()->getExprLoc(), diag::err_cast_selector_expr); in CheckCStyleCast() 2345 Self.Diag(SrcExpr.get()->getExprLoc(), in CheckCStyleCast()
|
D | SemaTemplateInstantiate.cpp | 1230 ValueDecl *VD = cast_or_null<ValueDecl>(TransformDecl(E->getExprLoc(), D)); in TransformFunctionParmPackExpr() 1233 return RebuildParmVarDeclRefExpr(cast<ParmVarDecl>(VD), E->getExprLoc()); in TransformFunctionParmPackExpr() 1247 cast_or_null<ParmVarDecl>(TransformDecl(E->getExprLoc(), *I)); in TransformFunctionParmPackExpr() 1275 E->getExprLoc(), *Pack); in TransformFunctionParmPackRefExpr() 1285 E->getExprLoc()); in TransformFunctionParmPackRefExpr()
|
/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/CodeGen/ |
D | CGExprComplex.cpp | 77 return EmitLoadOfLValue(CGF.EmitLValue(E), E->getExprLoc()); in EmitLoadOfLValue() 122 E->getExprLoc()); in VisitDeclRefExpr() 140 return EmitLoadOfLValue(CGF.getOpaqueLValueMapping(E), E->getExprLoc()); in VisitOpaqueValueExpr() 391 E->getExprLoc()); in VisitStmtExpr() 442 Op->getExprLoc()); in EmitCast() 850 ComplexPairTy LHSVal = EmitLoadOfLValue(LHS, E->getExprLoc()); in EmitCompoundAssignLValue() 853 llvm::Value *LHSVal = CGF.EmitLoadOfScalar(LHS, E->getExprLoc()); in EmitCompoundAssignLValue() 898 return EmitLoadOfLValue(LV, E->getExprLoc()); in EmitCompoundAssign() 933 return EmitLoadOfLValue(LV, E->getExprLoc()); in VisitBinAssign() 1025 E->getExprLoc()); in VisitVAArgExpr()
|
D | CGAtomic.cpp | 812 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 824 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 835 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 849 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 856 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 863 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 870 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 877 E->getExprLoc(), sizeChars); in EmitAtomicExpr() 918 return convertTempToRValue(Dest, RValTy, E->getExprLoc()); in EmitAtomicExpr() 975 return convertTempToRValue(OrigDest, RValTy, E->getExprLoc()); in EmitAtomicExpr() [all …]
|
D | CGExprScalar.cpp | 132 E->getExprLoc()); in EmitLoadOfLValue() 258 return EmitLoadOfLValue(CGF.getOpaqueLValueMapping(E), E->getExprLoc()); in VisitOpaqueValueExpr() 269 E->getExprLoc()); in VisitDeclRefExpr() 293 Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal(); in VisitObjCIsaExpr() 930 StaticData.push_back(CGF.EmitCheckSourceLocation(Info.E->getExprLoc())); in EmitBinOpCheck() 1371 CE->getExprLoc()); in VisitCastExpr() 1419 CGF.EmitTypeCheck(CodeGenFunction::TCK_DowncastPointer, CE->getExprLoc(), in VisitCastExpr() 1436 ShouldNullCheckClassCastValue(CE), CE->getExprLoc()); in VisitCastExpr() 1606 E->getExprLoc()); in VisitStmtExpr() 1682 value = EmitLoadOfLValue(LV, E->getExprLoc()); in EmitScalarPrePostIncDec() [all …]
|
D | CGExpr.cpp | 416 /*NullCheckValue=*/ false, E->getExprLoc()); in EmitMaterializeTemporaryExpr() 454 EmitTypeCheck(TCK_ReferenceBinding, E->getExprLoc(), Value, Ty); in EmitReferenceBindingToExpr() 716 EmitCheckSourceLocation(E->getExprLoc()), in EmitBoundsCheck() 730 ComplexPairTy InVal = EmitLoadOfComplex(LV, E->getExprLoc()); in EmitComplexPrePostIncDec() 810 EmitTypeCheck(TCK, E->getExprLoc(), LV.getAddress(), in EmitCheckedLValue() 1860 E->getExprLoc()); in EmitGlobalVarDeclLValue() 1996 Alignment, E->getExprLoc()); in EmitDeclRefLValue() 2635 EmitTypeCheck(TCK_MemberAccess, E->getExprLoc(), Ptr, PtrTy); in EmitMemberExpr() 3012 /*NullCheckValue=*/false, E->getExprLoc()); in EmitCastLValue() 3033 EmitTypeCheck(TCK_DowncastReference, E->getExprLoc(), in EmitCastLValue()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestCallVisitor.cpp | 105 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc()); in TraverseCXXOperatorCallExpr()
|
D | RecursiveASTVisitorTestExprVisitor.cpp | 20 Match("", Parens->getExprLoc()); in VisitParenExpr()
|
/external/clang/lib/Analysis/ |
D | ThreadSafety.cpp | 64 Loc = DeclExp->getExprLoc(); in warnInvalidLock() 1445 SourceLocation Loc = Exp->getExprLoc(); in getEdgeLockset() 1580 DiagKind, D->getNameAsString(), Cp.toString(), Exp->getExprLoc()); in warnIfMutexHeld() 1593 SourceLocation Loc = Exp->getExprLoc(); in checkAccess() 1673 Exp->getExprLoc()); in checkPtAccess() 1677 ClassifyDiagnostic(I), Exp->getExprLoc()); in checkPtAccess() 1691 SourceLocation Loc = Exp->getExprLoc(); in handleCall() 1769 Exp->getExprLoc()); in handleCall()
|
D | Consumed.cpp | 636 Call->getArg(Index)->getExprLoc(), in handleCall() 661 checkCallability(PInfo, FunD, Call->getExprLoc()); in handleCall() 1403 BTE->getExprLoc()); in run()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 310 if ((Expr1->getExprLoc().isMacroID()) || (Expr2->getExprLoc().isMacroID())) in isIdenticalStmt()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 626 return Diag(E->getExprLoc(), DiagId, ExtraNotes); in Diag() 1239 Info.Note(Base.get<const Expr*>()->getExprLoc(), in NoteLValueLocation() 1633 Info.Ctx.getDiagnostics().Report(E->getExprLoc(), in CheckedIntArithmetic() 1908 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfPointee)) in HandleLValueArrayAdjustment() 1927 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfComponent)) in HandleLValueComplexElement() 2648 Info.Note(MTE->getExprLoc(), diag::note_constexpr_temporary_here); in findCompleteObject() 2668 Info.Note(Base->getExprLoc(), diag::note_constexpr_temporary_here); in findCompleteObject() 4167 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition) || in VisitCallExpr() 4168 !HandleFunctionCall(E->getExprLoc(), Definition, This, Args, Body, in VisitCallExpr() 4570 !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() 2025 Loc = getExprLoc(); in isUnusedResultAWarning() 2213 Loc = getExprLoc(); in isUnusedResultAWarning() 2221 Loc = getExprLoc(); in isUnusedResultAWarning() 2230 Loc = getExprLoc(); in isUnusedResultAWarning() 2243 Loc = getExprLoc(); in isUnusedResultAWarning() 2889 if (!IncludePossibleEffects && getExprLoc().isMacroID()) in HasSideEffects()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 227 SourceLocation getExprLoc() const LLVM_READONLY; 852 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function 853 if (SourceExpr) return SourceExpr->getExprLoc(); in getExprLoc() 1759 SourceLocation getExprLoc() const LLVM_READONLY { return Loc; } in getExprLoc() function 2129 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function 2130 return getBase()->getExprLoc(); in getExprLoc() 2557 SourceLocation getExprLoc() const LLVM_READONLY { return MemberLoc; } in getExprLoc() function 2955 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; } in getExprLoc() function 4724 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function 4725 return getSyntacticForm()->getExprLoc(); in getExprLoc()
|
D | ExprObjC.h | 1448 SourceLocation getExprLoc() const LLVM_READONLY { return IsaMemberLoc; } 1521 SourceLocation getExprLoc() const LLVM_READONLY { 1522 return getSubExpr()->getExprLoc();
|