Home
last modified time | relevance | path

Searched refs:getExprLoc (Results 1 – 25 of 70) sorted by relevance

123

/external/clang/lib/Sema/
DSemaOpenMP.cpp1085 *this, DE->getExprLoc(), Type.getUnqualifiedType(), in EndOpenMPDSABlock()
1091 *this, VDPrivate, DE->getType(), DE->getExprLoc())); in EndOpenMPDSABlock()
1322 SourceLocation ILoc = DE->getExprLoc(); in CheckOMPThreadPrivateDecl()
1401 SemaRef.Diag(DVar.RefExpr->getExprLoc(), diag::note_omp_explicit_dsa) in ReportOriginalDSA()
1476 auto ELoc = E->getExprLoc(); in VisitDeclRefExpr()
1526 auto ELoc = E->getExprLoc(); in VisitMemberExpr()
1736 S.CreateBuiltinUnaryOp(CaptureExpr->getExprLoc(), UO_AddrOf, Init); in buildCaptureDecl()
1761 CaptureExpr->getExprLoc()); in buildCapture()
1770 CaptureExpr->getExprLoc()); in buildCapture()
1776 Res = S.CreateBuiltinUnaryOp(CaptureExpr->getExprLoc(), UO_Deref, Ref); in buildCapture()
[all …]
DSemaPseudoObject.cpp664 S.Diag(RefExpr->getExprLoc(), diag::error_property_setter_ambiguous_use) in findSetter()
1060 Diag(FromE->getExprLoc(), diag::err_objc_subscript_pointer) in CheckSubscriptingKind()
1061 << T << FixItHint::CreateInsertion(FromE->getExprLoc(), "@"); in CheckSubscriptingKind()
1063 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion) in CheckSubscriptingKind()
1069 if (RequireCompleteType(FromE->getExprLoc(), T, in CheckSubscriptingKind()
1099 Diag(FromE->getExprLoc(), diag::err_objc_subscript_type_conversion) in CheckSubscriptingKind()
1103 Diag(FromE->getExprLoc(), diag::err_objc_multiple_subscript_type_conversion) in CheckSubscriptingKind()
1155 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) in findAtIndexGetter()
1206 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found) in findAtIndexGetter()
1220 S.Diag(RefExpr->getKeyExpr()->getExprLoc(), in findAtIndexGetter()
[all …]
DSemaStmt.cpp48 FE = ActOnFinishFullExpr(FE.get(), FE.get()->getExprLoc(), in ActOnExprStmt()
199 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult()
420 LHS = ActOnFinishFullExpr(LHSVal, LHSVal->getExprLoc(), false, in ActOnCaseStmt()
425 auto RHS = RHSVal ? ActOnFinishFullExpr(RHSVal, RHSVal->getExprLoc(), false, in ActOnCaseStmt()
500 SemaRef.DiagnoseCommaOperator(E->getLHS(), E->getExprLoc()); in VisitBinaryOperator()
521 CondExpr->getExprLoc())) in ActOnIfStmt()
1060 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition) in ActOnFinishSwitchStmt()
1094 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1105 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
1115 Diag(CaseExpr->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
[all …]
DSemaChecking.cpp256 SemaRef.Diag(TheCall->getExprLoc(), DiagID) in SemaBuiltinSEHScopeCheck()
958 Diag(TheCall->getExprLoc(), diag::err_builtin_requires_language) in CheckBuiltinFunctionCall()
1974 S.Diag(FormatExpr->getExprLoc(), diag::warn_objc_cdirective_format_string) in DiagnoseCStringFormatDirectiveInCFAPI()
4565 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag) in EmitFormatDiagnostic()
5969 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType; in CheckAbsoluteValueFunction()
5970 Diag(Call->getExprLoc(), diag::note_remove_abs) in CheckAbsoluteValueFunction()
5985 Diag(Call->getExprLoc(), diag::warn_pointer_abs) << DiagType << ArgType; in CheckAbsoluteValueFunction()
6004 Diag(Call->getExprLoc(), diag::warn_abs_too_small) in CheckAbsoluteValueFunction()
6010 emitReplacement(*this, Call->getExprLoc(), in CheckAbsoluteValueFunction()
6023 Diag(Call->getExprLoc(), diag::warn_wrong_absolute_value_type) in CheckAbsoluteValueFunction()
[all …]
DSemaExpr.cpp525 Diag(E->getExprLoc(), diag::err_opencl_taking_function_address); in DefaultFunctionArrayConversion()
531 if (!checkAddressOfFunctionIsAvailable(FD, Diagnose, E->getExprLoc())) in DefaultFunctionArrayConversion()
603 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign) << in DiagnoseDirectIsaAccess()
617 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use) << in DiagnoseDirectIsaAccess()
665 Diag(E->getExprLoc(), diag::err_opencl_half_load_store) in DefaultLvalueConversion()
676 Diag(E->getExprLoc(), diag::warn_objc_isa_use) << in DefaultLvalueConversion()
681 Diag(E->getExprLoc(), diag::warn_objc_isa_use); in DefaultLvalueConversion()
702 (void)isCompleteType(E->getExprLoc(), T); in DefaultLvalueConversion()
840 E->getExprLoc(), E); in DefaultArgumentPromotion()
996 RequireCompleteType(E->getExprLoc(), E->getType(), in DefaultVariadicArgumentPromotion()
[all …]
DSemaExprCXX.cpp455 Diag(E->getExprLoc(), WasEvaluated in BuildCXXTypeId()
815 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
816 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
818 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
843 MarkFunctionReferenced(E->getExprLoc(), CD); in CheckCXXThrowOperand()
2796 SemaRef.Diag(NE->getExprLoc(), diag::note_allocated_here) in DiagnoseMismatchedNewDelete()
3012 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor, in ActOnCXXDelete()
3309 ICS.DiagnoseAmbiguousConversion(*this, From->getExprLoc(), in PerformImplicitConversion()
3581 (void)isCompleteType(From->getExprLoc(), From->getType()); in PerformImplicitConversion()
3582 (void)isCompleteType(From->getExprLoc(), ToType); in PerformImplicitConversion()
[all …]
DSemaCast.cpp1721 Self.Diag(SrcExpr.get()->getExprLoc(), in DiagnoseCastOfObjCSEL()
2302 SrcExpr.get()->getExprLoc())) in DiagnoseBadFunctionCast()
2327 Self.Diag(SrcExpr.get()->getExprLoc(), in DiagnoseBadFunctionCast()
2456 Self.Diag(SrcExpr.get()->getExprLoc(), in CheckCStyleCast()
2491 Self.Diag(SrcExpr.get()->getExprLoc(), diag::err_cast_selector_expr); in CheckCStyleCast()
2500 Self.Diag(SrcExpr.get()->getExprLoc(), in CheckCStyleCast()
/external/clang/lib/ARCMigrate/
DTransUnusedInitDelegate.cpp54 ME->getExprLoc())) { in VisitObjCMessageExpr()
57 ME->getExprLoc()); in VisitObjCMessageExpr()
DTransUnbridgedCasts.cpp109 SourceLocation loc = castExpr->getExprLoc(); in VisitCastExpr()
284 SourceLocation Loc = E->getExprLoc(); in getBlockMacroRanges()
339 SourceLocation CastLoc = E->getExprLoc(); in transformObjCToNonObjCCast()
DTransARCAssign.cpp47 SourceLocation OrigLoc = E->getExprLoc(); in VisitBinaryOperator()
/external/clang/include/clang/AST/
DExprOpenMP.h115 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function
116 return getBase()->getExprLoc(); in getExprLoc()
DExpr.h224 SourceLocation getExprLoc() const LLVM_READONLY;
885 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function
886 if (SourceExpr) return SourceExpr->getExprLoc(); in getExprLoc()
1757 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()
2521 SourceLocation getExprLoc() const LLVM_READONLY { return MemberLoc; } in getExprLoc() function
2936 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; } in getExprLoc() function
4775 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() function
4776 return getSyntacticForm()->getExprLoc(); in getExprLoc()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp77 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()
441 return EmitLoadOfLValue(CGF.MakeAddrLValue(V, DestTy), Op->getExprLoc()); in EmitCast()
492 DestTy, Op->getExprLoc()); in EmitCast()
499 Op->getExprLoc()); in EmitCast()
856 SourceLocation Loc = E->getExprLoc(); in EmitCompoundAssignLValue()
907 return EmitLoadOfLValue(LV, E->getExprLoc()); in EmitCompoundAssign()
942 return EmitLoadOfLValue(LV, E->getExprLoc()); in VisitBinAssign()
[all …]
DCGExprScalar.cpp133 E->getExprLoc()); in EmitLoadOfLValue()
263 return EmitLoadOfLValue(CGF.getOpaqueLValueMapping(E), E->getExprLoc()); in VisitOpaqueValueExpr()
274 E->getExprLoc()); in VisitDeclRefExpr()
298 Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal(); in VisitObjCIsaExpr()
938 StaticData.push_back(CGF.EmitCheckSourceLocation(Info.E->getExprLoc())); in EmitBinOpCheck()
1370 return EmitLoadOfLValue(LV, CE->getExprLoc()); in VisitCastExpr()
1422 CGF.EmitTypeCheck(CodeGenFunction::TCK_DowncastPointer, CE->getExprLoc(), in VisitCastExpr()
1541 CE->getExprLoc()); in VisitCastExpr()
1544 CE->getExprLoc(), in VisitCastExpr()
1568 CE->getExprLoc()); in VisitCastExpr()
[all …]
DCGAtomic.cpp866 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
878 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
889 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
907 LoweredMemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
918 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
929 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
940 LoweredMemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
951 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
961 MemTy, E->getExprLoc(), sizeChars); in EmitAtomicExpr()
1017 RValTy, E->getExprLoc()); in EmitAtomicExpr()
[all …]
DCGStmtOpenMP.cpp609 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPFirstprivateClause()
718 VK_LValue, (*IRef)->getExprLoc()); in EmitOMPCopyinClause()
791 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPLastprivateClauseInit()
1059 IRef->getType(), VK_LValue, IRef->getExprLoc()); in EmitOMPReductionClauseInit()
1102 IRef->getType(), VK_LValue, IRef->getExprLoc()); in EmitOMPReductionClauseInit()
1334 VD->getInit()->getExprLoc()); in EmitOMPLinearClauseInit()
1376 (*IC)->getType(), VK_LValue, (*IC)->getExprLoc()); in EmitOMPLinearClauseFinal()
1440 (*I)->getType(), VK_LValue, (*I)->getExprLoc()); in EmitOMPPrivateLoopCounters()
1448 E->getType(), VK_LValue, E->getExprLoc()); in EmitOMPPrivateLoopCounters()
1573 (*IPC)->getType(), VK_LValue, (*IPC)->getExprLoc()); in EmitOMPSimdFinal()
[all …]
/external/v8/tools/clang/plugins/
DCheckIPCVisitor.cpp90 call_expr->getExprLoc(), error_write_param_bad_signature_); in ValidateWriteParamSignature()
125 arg_expr->getExprLoc(), in ValidateWriteParamArgument()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp96 result.SourceManager->getSpellingLoc(target->getArg(0)->getExprLoc()) in run()
116 target->getArg(0)->getExprLoc())); in run()
125 result.SourceManager->getSpellingLoc(target->getArg(0)->getExprLoc()) in run()
624 result.SourceManager->getSpellingLoc(target->getArg(0)->getExprLoc()) in run()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestCallVisitor.cpp105 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc()); in TraverseCXXOperatorCallExpr()
DRecursiveASTVisitorTestExprVisitor.cpp20 Match("", Parens->getExprLoc()); in VisitParenExpr()
/external/v8/tools/clang/value_cleanup/
DValueRewriter.cpp24 clang::CharSourceRange::getTokenRange(callExpr->getExprLoc()); in run()
/external/clang/lib/Analysis/
DThreadSafety.cpp64 Loc = DeclExp->getExprLoc(); in warnInvalidLock()
1442 SourceLocation Loc = Exp->getExprLoc(); in getEdgeLockset()
1577 DiagKind, D->getNameAsString(), Cp.toString(), Exp->getExprLoc()); in warnIfMutexHeld()
1590 SourceLocation Loc = Exp->getExprLoc(); in checkAccess()
1670 Exp->getExprLoc()); in checkPtAccess()
1674 ClassifyDiagnostic(I), Exp->getExprLoc()); in checkPtAccess()
1688 SourceLocation Loc = Exp->getExprLoc(); in handleCall()
1766 Exp->getExprLoc()); in handleCall()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp326 if ((Expr1->getExprLoc().isMacroID()) || (Expr2->getExprLoc().isMacroID())) in isIdenticalStmt()
/external/clang/lib/AST/
DExprConstant.cpp666 return Diag(E->getExprLoc(), DiagId, ExtraNotes, /*IsCCEDiag*/false); in FFDiag()
690 return CCEDiag(E->getExprLoc(), DiagId, ExtraNotes); in CCEDiag()
1394 Info.Note(Base.get<const Expr*>()->getExprLoc(), in NoteLValueLocation()
1792 Info.Ctx.getDiagnostics().Report(E->getExprLoc(), in CheckedIntArithmetic()
2073 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfPointee)) in HandleLValueArrayAdjustment()
2092 if (!HandleSizeof(Info, E->getExprLoc(), EltTy, SizeOfComponent)) in HandleLValueComplexElement()
2837 Info.Note(MTE->getExprLoc(), diag::note_constexpr_temporary_here); in findCompleteObject()
2857 Info.Note(Base->getExprLoc(), diag::note_constexpr_temporary_here); in findCompleteObject()
3996 SourceLocation CallLoc = E->getExprLoc(); in HandleConstructorCall()
4425 if (!CheckConstexprFunction(Info, E->getExprLoc(), FD, Definition, Body) || in handleCallExpr()
[all …]
DExpr.cpp179 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()
1909 Loc = getExprLoc(); in isUnusedResultAWarning()
2100 Loc = getExprLoc(); in isUnusedResultAWarning()
2108 Loc = getExprLoc(); in isUnusedResultAWarning()
2117 Loc = getExprLoc(); in isUnusedResultAWarning()
2130 Loc = getExprLoc(); in isUnusedResultAWarning()
2807 if (!IncludePossibleEffects && getExprLoc().isMacroID()) in HasSideEffects()

123