Home
last modified time | relevance | path

Searched refs:VK_RValue (Results 1 – 25 of 40) sorted by relevance

12

/external/clang/lib/Analysis/
DBodyFarm.cpp89 BO_Assign, Ty, VK_RValue, in makeAssignment()
101 VK_RValue, in makeComparison()
129 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeLvalueToRvalue()
137 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCast()
142 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCastToBoolean()
207 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_once()
238 VK_RValue, OK_Ordinary, in create_dispatch_once()
268 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_sync()
/external/clang/lib/Sema/
DSemaExprCXX.cpp3130 From, /*BasePath=*/nullptr, VK_RValue); in PerformImplicitConversion()
3146 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3152 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3195 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3205 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3208 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3215 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3234 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3241 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3244 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
[all …]
DSemaCoroutine.cpp246 if (E->getValueKind() == VK_RValue) in BuildCoawaitExpr()
313 if (E->getValueKind() == VK_RValue) in BuildCoyieldExpr()
DSemaExpr.cpp701 nullptr, VK_RValue); in DefaultLvalueConversion()
709 nullptr, VK_RValue); in DefaultLvalueConversion()
2821 ExprValueKind valueKind = VK_RValue; in BuildDeclarationNameExpr()
2841 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2870 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2882 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2909 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2920 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2941 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2957 valueKind = VK_RValue; in BuildDeclarationNameExpr()
[all …]
DSemaFixItUtils.cpp137 S, Begin, VK_RValue); in tryToFixConversion()
DSemaExprMember.cpp379 if (HasRepeated) VK = VK_RValue; in CheckExtVectorComponent()
1127 valueKind = VK_RValue; in BuildMemberReferenceExpr()
1143 Enum->getType(), VK_RValue, OK_Ordinary); in BuildMemberReferenceExpr()
1710 VK = VK_RValue; in BuildFieldReferenceExpr()
1712 if (VK != VK_RValue && Field->isBitField()) in BuildFieldReferenceExpr()
DSemaCast.cpp574 if (ValueKind == VK_RValue) in CheckDynamicCast()
727 if (ValueKind == VK_RValue) in CheckConstCast()
842 if (ValueKind == VK_RValue && !isPlaceholder(BuiltinType::Overload)) in CheckReinterpretCast()
906 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckStaticCast()
1772 Expr::getValueKindForType(DestType) == VK_RValue // Convert Fun to Ptr in TryReinterpretCast()
2095 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
DSemaInit.cpp2419 Init, nullptr, VK_RValue); in CheckDesignatedInitializer()
2441 Init, nullptr, VK_RValue); in CheckDesignatedInitializer()
3050 case VK_RValue: S.Kind = SK_CastDerivedToBaseRValue; break; in AddDerivedToBaseCastStep()
3092 case VK_RValue: in AddQualificationConversionStep()
3950 ExprValueKind VK = VK_RValue; in TryRefInitWithConversionFunction()
4060 return VK_RValue; in convertQualifiersAndValueKindIfNecessary()
4131 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore()
4187 ExprValueKind ValueKind = InitCategory.isXValue()? VK_XValue : VK_RValue; in TryReferenceInitializationCore()
4216 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore()
6249 VK_RValue); in Perform()
[all …]
DSemaExprObjC.cpp1578 VK = VK_RValue; in CheckMessageArgumentTypes()
2347 Context, ReceiverType, VK_RValue, LBracLoc, ReceiverTypeInfo, Sel, in BuildClassMessage()
2394 ExprValueKind VK = VK_RValue; in BuildClassMessage()
2566 Context, Context.DependentTy, VK_RValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage()
2847 ExprValueKind VK = VK_RValue; in BuildInstanceMessage()
4040 nullptr, VK_RValue); in CheckObjCARCConversion()
4244 SubExpr, nullptr, VK_RValue); in BuildObjCBridgedCast()
4283 nullptr, VK_RValue); in BuildObjCBridgedCast()
DSema.cpp374 if (VK == VK_RValue && !E->isRValue()) { in ImpCastExprToType()
386 assert((VK == VK_RValue || !E->isRValue()) && "can't cast rvalue to lvalue"); in ImpCastExprToType()
DSemaPseudoObject.cpp1557 VK_RValue, OK_Ordinary, opcLoc); in checkPseudoObjectIncDec()
1587 VK_RValue, OK_Ordinary, opcLoc, false); in checkPseudoObjectAssignment()
DSemaOverload.cpp6433 &ConversionRef, VK_RValue); in AddConversionCandidate()
11097 Context, Fn, Args, Context.DependentTy, VK_RValue, RParenLoc); in buildOverloadedCallSet()
11282 VK_RValue, OK_Ordinary, OpLoc); in CreateOverloadedUnaryOp()
11292 VK_RValue, OpLoc, false); in CreateOverloadedUnaryOp()
11455 Args[0], Args[1], Opc, Context.DependentTy, VK_RValue, OK_Ordinary, in CreateOverloadedBinOp()
11475 VK_RValue, OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11734 Context.DependentTy, VK_RValue, RLoc, false); in CreateOverloadedArraySubscriptExpr()
11945 CallExpr(Context, MemExprE, Args, Context.VoidTy, VK_RValue, RParenLoc); in BuildCallToMemberFunction()
12328 nullptr, VK_RValue); in BuildCallToObjectOfClassType()
12768 VK_RValue, OK_Ordinary, in FixOverloadedFunctionReference()
[all …]
DSemaObjCProperty.cpp1246 VK_RValue); in ActOnPropertyImplDecl()
1298 VK_RValue); in ActOnPropertyImplDecl()
/external/clang/include/clang/Basic/
DSpecifiers.h97 VK_RValue, enumerator
/external/clang/lib/AST/
DExprCXX.cpp145 : Expr(CXXNewExprClass, ty, VK_RValue, OK_Ordinary, in CXXNewExpr()
242 VK_RValue, OK_Ordinary, in CXXPseudoDestructorExpr()
777 : VK_RValue, in CXXDefaultInitExpr()
858 : Expr(SC, T, VK_RValue, OK_Ordinary, in CXXConstructExpr()
937 : Expr(LambdaExprClass, T, VK_RValue, OK_Ordinary, in LambdaExpr()
1158 :VK_RValue), in CXXUnresolvedConstructExpr()
1459 : Expr(SubstNonTypeTemplateParmPackExprClass, T, VK_RValue, OK_Ordinary, in SubstNonTypeTemplateParmPackExpr()
1520 : Expr(TypeTraitExprClass, T, VK_RValue, OK_Ordinary, in TypeTraitExpr()
DExpr.cpp721 : Expr(IntegerLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in IntegerLiteral()
743 : Expr(FloatingLiteralClass, Type, VK_RValue, OK_Ordinary, false, false, in FloatingLiteral()
1348 : Expr(OffsetOfExprClass, type, VK_RValue, OK_Ordinary, in OffsetOfExpr()
1381 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()
1921 : Expr(InitListExprClass, QualType(), VK_RValue, OK_Ordinary, false, false, in InitListExpr()
3434 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp)) in getSourceBitField()
3474 if (ICE->getValueKind() != VK_RValue && in refersToVectorElement()
3568 : Expr(ShuffleVectorExprClass, Type, VK_RValue, OK_Ordinary, in ShuffleVectorExpr()
3632 VK_RValue, in GenericSelectionExpr()
3832 : Expr(DesignatedInitUpdateExprClass, baseExpr->getType(), VK_RValue, in DesignatedInitUpdateExpr()
[all …]
DExprObjC.cpp22 : Expr(ObjCArrayLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCArrayLiteral()
59 : Expr(ObjCDictionaryLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCDictionaryLiteral()
DExprClassification.cpp67 case Cl::CL_PRValue: assert(getValueKind() == VK_RValue); break; in ClassifyImpl()
92 case VK_RValue: in ClassifyExprValueKind()
/external/clang/include/clang/AST/
DExprCXX.h439 Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXBoolLiteralExpr()
472 Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXNullPtrLiteralExpr()
504 : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary, in CXXStdInitializerListExpr()
845 : Expr(CXXThisExprClass, Type, VK_RValue, OK_Ordinary, in CXXThisExpr()
893 Expr(CXXThrowExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXThrowExpr()
1114 VK_RValue, OK_Ordinary, SubExpr->isTypeDependent(), in CXXBindTemporaryExpr()
1706 : Expr(CXXScalarValueInitExprClass, Type, VK_RValue, OK_Ordinary, in CXXScalarValueInitExpr()
1961 : Expr(CXXDeleteExprClass, ty, VK_RValue, OK_Ordinary, false, false, in CXXDeleteExpr()
2329 : Expr(ArrayTypeTraitExprClass, ty, VK_RValue, OK_Ordinary, in ArrayTypeTraitExpr()
2394 : Expr(ExpressionTraitExprClass, resultType, VK_RValue, OK_Ordinary, in ExpressionTraitExpr()
[all …]
DExprObjC.h34 : Expr(ObjCStringLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCStringLiteral()
65 Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in ObjCBoolLiteralExpr()
101 : Expr(ObjCBoxedExprClass, T, VK_RValue, OK_Ordinary, in ObjCBoxedExpr()
408 : Expr(ObjCSelectorExprClass, T, VK_RValue, OK_Ordinary, false, false,
452 : Expr(ObjCProtocolExprClass, T, VK_RValue, OK_Ordinary, false, false,
1536 : ExplicitCastExpr(ObjCBridgedCastExprClass, TSInfo->getType(), VK_RValue,
DExpr.h247 bool isRValue() const { return getValueKind() == VK_RValue; } in isRValue()
249 bool isGLValue() const { return getValueKind() != VK_RValue; } in isGLValue()
396 return VK_RValue; in getValueKindForType()
1363 : Expr(CharacterLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in CharacterLiteral()
1469 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false, in ImaginaryLiteral()
2026 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()
3411 : Expr(AddrLabelExprClass, t, VK_RValue, OK_Ordinary, false, false, false, in AddrLabelExpr()
3455 Expr(StmtExprClass, T, VK_RValue, OK_Ordinary, in StmtExpr()
3696 : Expr(GNUNullExprClass, Ty, VK_RValue, OK_Ordinary, false, false, false, in GNUNullExpr()
3728 : Expr(VAArgExprClass, t, VK_RValue, OK_Ordinary, t->isDependentType(), in VAArgExpr()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp493 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2022 DRE, nullptr, VK_RValue); in SynthesizeCallToFunctionDecl()
2028 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl()
2517 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral()
2616 *Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, SourceLocation()); in SynthMsgSendStretCallExpr()
2676 VK_RValue, in SynthMessageExpr()
2720 VK_RValue, OK_Ordinary, in SynthMessageExpr()
2738 VK_RValue, OK_Ordinary, in SynthMessageExpr()
2771 VK_RValue, SourceLocation())) in SynthMessageExpr()
2814 VK_RValue, OK_Ordinary, in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp593 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2130 DRE, nullptr, VK_RValue); in SynthesizeCallToFunctionDecl()
2136 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl()
2615 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral()
2719 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCBoxedExpr()
2745 new (Context) DeclRefExpr(NSArrayFD, false, NSArrayFType, VK_RValue, in RewriteObjCArrayLiteralExpr()
2843 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCArrayLiteralExpr()
2869 new (Context) DeclRefExpr(NSDictFD, false, NSDictFType, VK_RValue, in RewriteObjCDictionaryLiteralExpr()
3000 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCDictionaryLiteralExpr()
3212 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue, in SynthMsgSendStretCallExpr()
[all …]
/external/clang/lib/CodeGen/
DCGObjC.cpp1277 VK_RValue); in generateObjCSetterBody()
1287 &arg, VK_RValue); in generateObjCSetterBody()
1310 VK_RValue); in generateObjCSetterBody()
1318 ivarRef.getType(), VK_RValue, OK_Ordinary, in generateObjCSetterBody()
2953 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
2958 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3033 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction()
3059 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp45 case VK_RValue: in getResultType()

12