/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 92 BO_Assign, Ty, VK_RValue, in makeAssignment() 104 VK_RValue, in makeComparison() 132 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeLvalueToRvalue() 140 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCast() 145 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCastToBoolean() 210 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_once() 241 VK_RValue, OK_Ordinary, in create_dispatch_once() 271 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_sync()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 2861 From, /*BasePath=*/nullptr, VK_RValue); in PerformImplicitConversion() 2877 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2883 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2926 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2936 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2939 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2946 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2965 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2972 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 2975 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() [all …]
|
D | SemaExprMember.cpp | 380 if (HasRepeated) VK = VK_RValue; in CheckExtVectorComponent() 1100 valueKind = VK_RValue; in BuildMemberReferenceExpr() 1116 Enum->getType(), VK_RValue, OK_Ordinary); in BuildMemberReferenceExpr() 1682 VK = VK_RValue; in BuildFieldReferenceExpr() 1684 if (VK != VK_RValue && Field->isBitField()) in BuildFieldReferenceExpr()
|
D | SemaExpr.cpp | 673 nullptr, VK_RValue); in DefaultLvalueConversion() 681 nullptr, VK_RValue); in DefaultLvalueConversion() 2827 ExprValueKind valueKind = VK_RValue; in BuildDeclarationNameExpr() 2847 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2876 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2888 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2915 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2926 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2947 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2963 valueKind = VK_RValue; in BuildDeclarationNameExpr() [all …]
|
D | SemaFixItUtils.cpp | 137 S, Begin, VK_RValue); in tryToFixConversion()
|
D | SemaCast.cpp | 574 if (ValueKind == VK_RValue) in CheckDynamicCast() 726 if (ValueKind == VK_RValue) in CheckConstCast() 841 if (ValueKind == VK_RValue && !isPlaceholder(BuiltinType::Overload)) in CheckReinterpretCast() 905 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckStaticCast() 1759 Expr::getValueKindForType(DestType) == VK_RValue // Convert Fun to Ptr in TryReinterpretCast() 2081 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
|
D | SemaInit.cpp | 2280 Init, nullptr, VK_RValue); in CheckDesignatedInitializer() 2302 Init, nullptr, VK_RValue); in CheckDesignatedInitializer() 2891 case VK_RValue: S.Kind = SK_CastDerivedToBaseRValue; break; in AddDerivedToBaseCastStep() 2933 case VK_RValue: in AddQualificationConversionStep() 3761 ExprValueKind VK = VK_RValue; in TryRefInitWithConversionFunction() 3871 return VK_RValue; in convertQualifiersAndValueKindIfNecessary() 3942 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore() 3998 ExprValueKind ValueKind = InitCategory.isXValue()? VK_XValue : VK_RValue; in TryReferenceInitializationCore() 4027 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore() 5931 VK_RValue); in Perform() [all …]
|
D | SemaExprObjC.cpp | 1354 VK = VK_RValue; in CheckMessageArgumentTypes() 2104 Context, ReceiverType, VK_RValue, LBracLoc, ReceiverTypeInfo, Sel, in BuildClassMessage() 2151 ExprValueKind VK = VK_RValue; in BuildClassMessage() 2323 Context, Context.DependentTy, VK_RValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage() 2596 ExprValueKind VK = VK_RValue; in BuildInstanceMessage() 3789 nullptr, VK_RValue); in CheckObjCARCConversion() 3993 SubExpr, nullptr, VK_RValue); in BuildObjCBridgedCast() 4032 nullptr, VK_RValue); in BuildObjCBridgedCast()
|
D | Sema.cpp | 343 if (VK == VK_RValue && !E->isRValue()) { in ImpCastExprToType() 355 assert((VK == VK_RValue || !E->isRValue()) && "can't cast rvalue to lvalue"); in ImpCastExprToType()
|
D | SemaOverload.cpp | 6341 &ConversionRef, VK_RValue); in AddConversionCandidate() 10760 Context.DependentTy, VK_RValue, in buildOverloadedCallSet() 10931 VK_RValue, OK_Ordinary, OpLoc); in CreateOverloadedUnaryOp() 10941 VK_RValue, OpLoc, false); in CreateOverloadedUnaryOp() 11106 Args[0], Args[1], Opc, Context.DependentTy, VK_RValue, OK_Ordinary, in CreateOverloadedBinOp() 11126 VK_RValue, OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp() 11385 Context.DependentTy, VK_RValue, RLoc, false); in CreateOverloadedArraySubscriptExpr() 11600 CallExpr(Context, MemExprE, Args, Context.VoidTy, VK_RValue, RParenLoc); in BuildCallToMemberFunction() 11962 nullptr, VK_RValue); in BuildCallToObjectOfClassType() 12407 VK_RValue, OK_Ordinary, in FixOverloadedFunctionReference() [all …]
|
D | SemaPseudoObject.cpp | 1520 VK_RValue, OK_Ordinary, opcLoc); in checkPseudoObjectIncDec() 1546 VK_RValue, OK_Ordinary, opcLoc, false); in checkPseudoObjectAssignment()
|
D | SemaObjCProperty.cpp | 1153 VK_RValue); in ActOnPropertyImplDecl() 1203 VK_RValue); in ActOnPropertyImplDecl()
|
D | SemaLambda.cpp | 606 E, /*base path*/ nullptr, VK_RValue); in adjustBlockReturnsToEnum()
|
/external/clang/include/clang/Basic/ |
D | Specifiers.h | 92 VK_RValue, enumerator
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 439 Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXBoolLiteralExpr() 470 Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXNullPtrLiteralExpr() 500 : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary, in CXXStdInitializerListExpr() 776 : Expr(CXXThisExprClass, Type, VK_RValue, OK_Ordinary, in CXXThisExpr() 822 Expr(CXXThrowExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXThrowExpr() 1039 VK_RValue, OK_Ordinary, SubExpr->isTypeDependent(), in CXXBindTemporaryExpr() 1593 : Expr(CXXScalarValueInitExprClass, Type, VK_RValue, OK_Ordinary, in CXXScalarValueInitExpr() 1838 : Expr(CXXDeleteExprClass, ty, VK_RValue, OK_Ordinary, false, false, in CXXDeleteExpr() 2204 : Expr(ArrayTypeTraitExprClass, ty, VK_RValue, OK_Ordinary, in ArrayTypeTraitExpr() 2267 : Expr(ExpressionTraitExprClass, resultType, VK_RValue, OK_Ordinary, in ExpressionTraitExpr() [all …]
|
D | ExprObjC.h | 34 : Expr(ObjCStringLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCStringLiteral() 65 Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in ObjCBoolLiteralExpr() 99 : Expr(ObjCBoxedExprClass, T, VK_RValue, OK_Ordinary, in ObjCBoxedExpr() 402 : Expr(ObjCSelectorExprClass, T, VK_RValue, OK_Ordinary, false, false, 444 : Expr(ObjCProtocolExprClass, T, VK_RValue, OK_Ordinary, false, false, 1548 : ExplicitCastExpr(ObjCBridgedCastExprClass, TSInfo->getType(), VK_RValue,
|
D | Expr.h | 251 bool isRValue() const { return getValueKind() == VK_RValue; } in isRValue() 253 bool isGLValue() const { return getValueKind() != VK_RValue; } in isGLValue() 398 return VK_RValue; in getValueKindForType() 1330 : Expr(CharacterLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in CharacterLiteral() 1432 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false, in ImaginaryLiteral() 1986 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr() 3361 : Expr(AddrLabelExprClass, t, VK_RValue, OK_Ordinary, false, false, false, in AddrLabelExpr() 3403 Expr(StmtExprClass, T, VK_RValue, OK_Ordinary, in StmtExpr() 3645 : Expr(GNUNullExprClass, Ty, VK_RValue, OK_Ordinary, false, false, false, in GNUNullExpr() 3675 : Expr(VAArgExprClass, t, VK_RValue, OK_Ordinary, in VAArgExpr() [all …]
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 145 : 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() 1149 :VK_RValue), in CXXUnresolvedConstructExpr() 1431 : Expr(SubstNonTypeTemplateParmPackExprClass, T, VK_RValue, OK_Ordinary, in SubstNonTypeTemplateParmPackExpr() 1492 : Expr(TypeTraitExprClass, T, VK_RValue, OK_Ordinary, in TypeTraitExpr()
|
D | Expr.cpp | 716 : Expr(IntegerLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in IntegerLiteral() 738 : Expr(FloatingLiteralClass, Type, VK_RValue, OK_Ordinary, false, false, in FloatingLiteral() 1311 : Expr(OffsetOfExprClass, type, VK_RValue, OK_Ordinary, in OffsetOfExpr() 1344 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr() 1884 : Expr(InitListExprClass, QualType(), VK_RValue, OK_Ordinary, false, false, in InitListExpr() 3340 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp)) in getSourceBitField() 3380 if (ICE->getValueKind() != VK_RValue && in refersToVectorElement() 3731 : Expr(ShuffleVectorExprClass, Type, VK_RValue, OK_Ordinary, in ShuffleVectorExpr() 3795 VK_RValue, in GenericSelectionExpr() 3995 : Expr(ParenListExprClass, QualType(), VK_RValue, OK_Ordinary, in ParenListExpr() [all …]
|
D | ExprClassification.cpp | 67 case Cl::CL_PRValue: assert(getValueKind() == VK_RValue); break; in ClassifyImpl() 92 case VK_RValue: in ClassifyExprValueKind()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 493 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr() 2020 DRE, nullptr, VK_RValue); in SynthesizeCallToFunctionDecl() 2027 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl() 2516 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral() 2615 *Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, SourceLocation()); in SynthMsgSendStretCallExpr() 2675 VK_RValue, in SynthMessageExpr() 2724 VK_RValue, OK_Ordinary, in SynthMessageExpr() 2742 VK_RValue, OK_Ordinary, in SynthMessageExpr() 2777 VK_RValue, SourceLocation())) in SynthMessageExpr() 2823 VK_RValue, OK_Ordinary, in SynthMessageExpr() [all …]
|
D | RewriteModernObjC.cpp | 593 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr() 2128 DRE, nullptr, VK_RValue); in SynthesizeCallToFunctionDecl() 2135 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl() 2614 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral() 2721 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCBoxedExpr() 2747 new (Context) DeclRefExpr(NSArrayFD, false, NSArrayFType, VK_RValue, in RewriteObjCArrayLiteralExpr() 2848 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCArrayLiteralExpr() 2874 new (Context) DeclRefExpr(NSDictFD, false, NSDictFType, VK_RValue, in RewriteObjCDictionaryLiteralExpr() 3008 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCDictionaryLiteralExpr() 3220 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue, in SynthMsgSendStretCallExpr() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 1215 VK_RValue); in generateObjCSetterBody() 1225 &arg, VK_RValue); in generateObjCSetterBody() 1248 VK_RValue); in generateObjCSetterBody() 1256 ivarRef.getType(), VK_RValue, OK_Ordinary, in generateObjCSetterBody() 2911 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction() 2916 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction() 2989 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction() 3019 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction()
|
D | CGStmtOpenMP.cpp | 1135 BinaryOperator Cond(&IVRefExpr, &UBRefExpr, BO_LE, C.BoolTy, VK_RValue, in emitSections() 1139 UnaryOperator Inc(&IVRefExpr, UO_PreInc, KmpInt32Ty, VK_RValue, in emitSections()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 44 case VK_RValue: in getResultType()
|