/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 89 BO_Assign, Ty, VK_RValue, in makeAssignment() 101 VK_RValue, in makeComparison() 129 const_cast<Expr*>(Arg), 0, VK_RValue); in makeLvalueToRvalue() 137 const_cast<Expr*>(Arg), 0, VK_RValue); in makeIntegralCast() 142 const_cast<Expr*>(Arg), 0, VK_RValue); in makeIntegralCastToBoolean() 198 VK_RValue, SourceLocation()); in create_dispatch_once() 230 VK_RValue, OK_Ordinary, in create_dispatch_once() 261 VK_RValue, SourceLocation()); in create_dispatch_sync()
|
/external/clang/include/clang/Basic/ |
D | Specifiers.h | 99 VK_RValue, enumerator
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 2195 CK_BitCast, Arg, 0, VK_RValue); in ActOnCXXDelete() 2531 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2537 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2561 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2571 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2574 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2581 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2600 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2607 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() 2610 VK_RValue, /*BasePath=*/0, CCK).take(); in PerformImplicitConversion() [all …]
|
D | SemaExpr.cpp | 516 E, 0, VK_RValue)); in DefaultLvalueConversion() 524 Res.get(), 0, VK_RValue)); in DefaultLvalueConversion() 2440 ExprValueKind valueKind = VK_RValue; in BuildDeclarationNameExpr() 2460 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2489 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2499 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2526 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2537 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2558 valueKind = VK_RValue; in BuildDeclarationNameExpr() 2570 valueKind = VK_RValue; in BuildDeclarationNameExpr() [all …]
|
D | SemaFixItUtils.cpp | 137 S, Begin, VK_RValue); in tryToFixConversion()
|
D | SemaExprMember.cpp | 361 if (HasRepeated) VK = VK_RValue; in CheckExtVectorComponent() 974 valueKind = VK_RValue; in BuildMemberReferenceExpr() 991 Enum->getType(), VK_RValue, OK_Ordinary)); in BuildMemberReferenceExpr() 1607 VK = VK_RValue; in BuildFieldReferenceExpr() 1609 if (VK != VK_RValue && Field->isBitField()) in BuildFieldReferenceExpr()
|
D | SemaCast.cpp | 537 if (ValueKind == VK_RValue) in CheckDynamicCast() 671 if (ValueKind == VK_RValue) in CheckConstCast() 691 if (ValueKind == VK_RValue && !isPlaceholder(BuiltinType::Overload)) in CheckReinterpretCast() 752 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckStaticCast() 1535 Expr::getValueKindForType(DestType) == VK_RValue // Convert Fun to Ptr in TryReinterpretCast() 1850 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
|
D | SemaExprObjC.cpp | 1168 VK = VK_RValue; in CheckMessageArgumentTypes() 1940 VK_RValue, LBracLoc, ReceiverTypeInfo, in BuildClassMessage() 1988 ExprValueKind VK = VK_RValue; in BuildClassMessage() 2125 VK_RValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage() 2326 ExprValueKind VK = VK_RValue; in BuildInstanceMessage() 3113 0, VK_RValue); in CheckObjCARCConversion() 3302 SubExpr, 0, VK_RValue); in BuildObjCBridgedCast() 3341 0, VK_RValue); in BuildObjCBridgedCast()
|
D | Sema.cpp | 267 if (VK == VK_RValue && !E->isRValue()) { in ImpCastExprToType() 278 assert((VK == VK_RValue || !E->isRValue()) && "can't cast rvalue to lvalue"); in ImpCastExprToType()
|
D | SemaPseudoObject.cpp | 1355 VK_RValue, OK_Ordinary, opcLoc); in checkPseudoObjectIncDec() 1377 VK_RValue, OK_Ordinary, opcLoc, false); in checkPseudoObjectAssignment()
|
D | SemaInit.cpp | 2502 case VK_RValue: S.Kind = SK_CastDerivedToBaseRValue; break; in AddDerivedToBaseCastStep() 2544 case VK_RValue: in AddQualificationConversionStep() 3283 ExprValueKind VK = VK_RValue; in TryRefInitWithConversionFunction() 3472 ExprValueKind ValueKind = InitCategory.isXValue()? VK_XValue : VK_RValue; in TryReferenceInitializationCore() 5061 VK_RValue); in Perform() 5231 VK_RValue); in Perform() 5461 CurInit.take(), 0, VK_RValue)); in Perform()
|
D | SemaOverload.cpp | 5777 &ConversionRef, VK_RValue); in AddConversionCandidate() 9888 Context.DependentTy, VK_RValue, in buildOverloadedCallSet() 10062 VK_RValue, OK_Ordinary, in CreateOverloadedUnaryOp() 10074 VK_RValue, in CreateOverloadedUnaryOp() 10248 VK_RValue, OK_Ordinary, in CreateOverloadedBinOp() 10272 Context.DependentTy, VK_RValue, in CreateOverloadedBinOp() 10521 VK_RValue, in CreateOverloadedArraySubscriptExpr() 11073 Call.get(), 0, VK_RValue)); in BuildCallToObjectOfClassType() 11518 VK_RValue, OK_Ordinary, in FixOverloadedFunctionReference() 11529 VK_RValue, OK_Ordinary, in FixOverloadedFunctionReference() [all …]
|
D | SemaLambda.cpp | 344 E, /*base path*/ 0, VK_RValue); in adjustBlockReturnsToEnum()
|
D | SemaObjCProperty.cpp | 1133 VK_RValue, PropertyDiagLoc); in ActOnPropertyImplDecl() 1168 VK_RValue, PropertyDiagLoc); in ActOnPropertyImplDecl()
|
D | SemaLookup.cpp | 2323 VK = VK_RValue; in LookupSpecialMember() 2341 RValueThis ? VK_RValue : VK_LValue).Classify(Context); in LookupSpecialMember()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 427 Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXBoolLiteralExpr() 456 Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXNullPtrLiteralExpr() 659 : Expr(CXXThisExprClass, Type, VK_RValue, OK_Ordinary, in CXXThisExpr() 704 Expr(CXXThrowExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXThrowExpr() 867 VK_RValue, OK_Ordinary, SubExpr->isTypeDependent(), in CXXBindTemporaryExpr() 1448 Expr(CXXScalarValueInitExprClass, Type, VK_RValue, OK_Ordinary, in CXXScalarValueInitExpr() 1686 : Expr(CXXDeleteExprClass, ty, VK_RValue, OK_Ordinary, false, false, in CXXDeleteExpr() 1945 : Expr(UnaryTypeTraitExprClass, ty, VK_RValue, OK_Ordinary, in UnaryTypeTraitExpr() 2006 : Expr(BinaryTypeTraitExprClass, ty, VK_RValue, OK_Ordinary, false, in BinaryTypeTraitExpr() 2175 : Expr(ArrayTypeTraitExprClass, ty, VK_RValue, OK_Ordinary, in ArrayTypeTraitExpr() [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() 392 : Expr(ObjCSelectorExprClass, T, VK_RValue, OK_Ordinary, false, false, 430 : Expr(ObjCProtocolExprClass, T, VK_RValue, OK_Ordinary, false, false, 1513 : 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() 399 return VK_RValue; in getValueKindForType() 1285 : Expr(CharacterLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in CharacterLiteral() 1387 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false, in ImaginaryLiteral() 1941 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr() 1956 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr() 3289 : Expr(AddrLabelExprClass, t, VK_RValue, OK_Ordinary, false, false, false, in AddrLabelExpr() 3331 Expr(StmtExprClass, T, VK_RValue, OK_Ordinary, in StmtExpr() 3508 : Expr(GNUNullExprClass, Ty, VK_RValue, OK_Ordinary, false, false, false, in GNUNullExpr() [all …]
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 90 : Expr(CXXNewExprClass, ty, VK_RValue, OK_Ordinary, in CXXNewExpr() 184 VK_RValue, OK_Ordinary, in CXXPseudoDestructorExpr() 773 : Expr(SC, T, VK_RValue, OK_Ordinary, in CXXConstructExpr() 843 : Expr(LambdaExprClass, T, VK_RValue, OK_Ordinary, in LambdaExpr() 1038 :VK_RValue), in CXXUnresolvedConstructExpr() 1323 : Expr(SubstNonTypeTemplateParmPackExprClass, T, VK_RValue, OK_Ordinary, in SubstNonTypeTemplateParmPackExpr() 1364 : Expr(TypeTraitExprClass, T, VK_RValue, OK_Ordinary, in TypeTraitExpr()
|
D | Expr.cpp | 627 : Expr(IntegerLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in IntegerLiteral() 649 : Expr(FloatingLiteralClass, Type, VK_RValue, OK_Ordinary, false, false, in FloatingLiteral() 1240 : Expr(OffsetOfExprClass, type, VK_RValue, OK_Ordinary, in OffsetOfExpr() 1770 : Expr(InitListExprClass, QualType(), VK_RValue, OK_Ordinary, false, false, in InitListExpr() 3134 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp)) in getBitField() 3165 if (ICE->getValueKind() != VK_RValue && in refersToVectorElement() 3519 : Expr(ShuffleVectorExprClass, Type, VK_RValue, OK_Ordinary, in ShuffleVectorExpr() 3584 VK_RValue, in GenericSelectionExpr() 3793 : Expr(ParenListExprClass, QualType(), VK_RValue, OK_Ordinary, in ParenListExpr() 3845 VK = VK_RValue; in Create() [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/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 501 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, 0, TInfo, in NoTypeInfoCStyleCastExpr() 2057 DRE, 0, VK_RValue); in SynthesizeCallToFunctionDecl() 2064 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl() 2552 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral() 2651 FT->getResultType(), VK_RValue, in SynthMsgSendStretCallExpr() 2712 VK_RValue, in SynthMessageExpr() 2765 VK_RValue, OK_Ordinary, in SynthMessageExpr() 2783 VK_RValue, OK_Ordinary, in SynthMessageExpr() 2822 VK_RValue, SourceLocation())) in SynthMessageExpr() 2872 VK_RValue, OK_Ordinary, in SynthMessageExpr() [all …]
|
D | RewriteModernObjC.cpp | 588 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, 0, TInfo, in NoTypeInfoCStyleCastExpr() 2151 DRE, 0, VK_RValue); in SynthesizeCallToFunctionDecl() 2158 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl() 2632 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral() 2746 FT->getResultType(), VK_RValue, in RewriteObjCBoxedExpr() 2773 new (Context) DeclRefExpr(NSArrayFD, false, NSArrayFType, VK_RValue, in RewriteObjCArrayLiteralExpr() 2883 FT->getResultType(), VK_RValue, in RewriteObjCArrayLiteralExpr() 2910 new (Context) DeclRefExpr(NSDictFD, false, NSDictFType, VK_RValue, in RewriteObjCDictionaryLiteralExpr() 3056 FT->getResultType(), VK_RValue, in RewriteObjCDictionaryLiteralExpr() 3250 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue, in SynthMsgSendStretCallExpr() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 1190 VK_RValue); in generateObjCSetterBody() 1199 &arg, VK_RValue); in generateObjCSetterBody() 1222 VK_RValue); in generateObjCSetterBody() 1230 ivarRef.getType(), VK_RValue, OK_Ordinary, in generateObjCSetterBody() 2868 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction() 2873 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction() 2952 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction() 2981 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 44 case VK_RValue: in getResultType()
|