|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/Expr.h 259 bool isRValue() const { return getValueKind() == VK_RValue; }
261 bool isGLValue() const { return getValueKind() != VK_RValue; }
410 return VK_RValue;
1522 : Expr(CharacterLiteralClass, type, VK_RValue, OK_Ordinary, false, false,
1641 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false,
2358 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary,
3888 : Expr(AddrLabelExprClass, t, VK_RValue, OK_Ordinary, false, false, false,
3935 Expr(StmtExprClass, T, VK_RValue, OK_Ordinary,
4188 : Expr(GNUNullExprClass, Ty, VK_RValue, OK_Ordinary, false, false, false,
4223 : Expr(VAArgExprClass, t, VK_RValue, OK_Ordinary, t->isDependentType(),
4912 : Expr(NoInitExprClass, ty, VK_RValue, OK_Ordinary,
5007 : Expr(ArrayInitLoopExprClass, T, VK_RValue, OK_Ordinary, false,
5060 : Expr(ArrayInitIndexExprClass, T, VK_RValue, OK_Ordinary,
5092 : Expr(ImplicitValueInitExprClass, ty, VK_RValue, OK_Ordinary,
5498 (VK == VK_RValue ? OK_Ordinary : OK_VectorComponent),
5556 : Expr(BlockExprClass, ty, VK_RValue, OK_Ordinary,
tools/clang/include/clang/AST/ExprCXX.h 648 : Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
686 : Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false,
726 : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary,
1100 : Expr(CXXThisExprClass, Ty, VK_RValue, OK_Ordinary,
1153 : Expr(CXXThrowExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
1379 VK_RValue, OK_Ordinary, SubExpr->isTypeDependent(),
1634 : Expr(CXXInheritedCtorInitExprClass, T, VK_RValue, OK_Ordinary, false,
2063 : Expr(CXXScalarValueInitExprClass, Type, VK_RValue, OK_Ordinary, false,
2372 : Expr(CXXDeleteExprClass, Ty, VK_RValue, OK_Ordinary, false,
2740 : Expr(ArrayTypeTraitExprClass, ty, VK_RValue, OK_Ordinary,
2807 : Expr(ExpressionTraitExprClass, resultType, VK_RValue, OK_Ordinary,
3967 : Expr(CXXNoexceptExprClass, Ty, VK_RValue, OK_Ordinary,
4127 : Expr(SizeOfPackExprClass, SizeType, VK_RValue, OK_Ordinary,
4552 : Expr(CXXFoldExprClass, T, VK_RValue, OK_Ordinary,
4645 : Expr(SC, Ty, VK_RValue, OK_Ordinary, true, true, true,
4750 : Expr(DependentCoawaitExprClass, Ty, VK_RValue, OK_Ordinary,
tools/clang/include/clang/AST/ExprObjC.h 56 : Expr(ObjCStringLiteralClass, T, VK_RValue, OK_Ordinary, false, false,
91 : Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
134 : Expr(ObjCBoxedExprClass, T, VK_RValue, OK_Ordinary,
461 : Expr(ObjCSelectorExprClass, T, VK_RValue, OK_Ordinary, false, false,
513 : Expr(ObjCProtocolExprClass, T, VK_RValue, OK_Ordinary, false, false,
1654 : ExplicitCastExpr(ObjCBridgedCastExprClass, TSInfo->getType(), VK_RValue,
1708 : Expr(ObjCAvailabilityCheckExprClass, Ty, VK_RValue, OK_Ordinary, false,
tools/clang/include/clang/Sema/Sema.h10113 ExprValueKind VK = VK_RValue,
10375 Expr *E, QualType Ty, ExprValueKind VK = VK_RValue,
tools/clang/lib/AST/Expr.cpp 915 : Expr(IntegerLiteralClass, type, VK_RValue, OK_Ordinary, false, false,
938 : Expr(FixedPointLiteralClass, type, VK_RValue, OK_Ordinary, false, false,
967 : Expr(FloatingLiteralClass, Type, VK_RValue, OK_Ordinary, false, false,
1571 : Expr(OffsetOfExprClass, type, VK_RValue, OK_Ordinary,
1604 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary,
2154 VK_RValue, OK_Ordinary, false, false, false, false),
2221 : Expr(InitListExprClass, QualType(), VK_RValue, OK_Ordinary, false, false,
3846 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp))
3893 if (ICE->getValueKind() != VK_RValue &&
4101 : Expr(ShuffleVectorExprClass, Type, VK_RValue, OK_Ordinary,
4162 : Expr(GenericSelectionExprClass, Context.DependentTy, VK_RValue,
4400 : Expr(DesignatedInitUpdateExprClass, baseExpr->getType(), VK_RValue,
4419 : Expr(ParenListExprClass, QualType(), VK_RValue, OK_Ordinary, false, false,
4494 VK = VK_RValue;
4562 : Expr(AtomicExprClass, t, VK_RValue, OK_Ordinary,
tools/clang/lib/AST/ExprCXX.cpp 175 : Expr(CXXNewExprClass, Ty, VK_RValue, OK_Ordinary, Ty->isDependentType(),
340 VK_RValue, OK_Ordinary,
998 : VK_RValue,
1100 : Expr(SC, Ty, VK_RValue, OK_Ordinary, Ty->isDependentType(),
1178 : Expr(LambdaExprClass, T, VK_RValue, OK_Ordinary, T->isDependentType(),
1362 : VK_RValue),
1679 : Expr(TypeTraitExprClass, T, VK_RValue, OK_Ordinary,
1759 : Expr(ConceptSpecializationExprClass, C.BoolTy, VK_RValue, OK_Ordinary,
tools/clang/lib/AST/ExprClassification.cpp 67 case Cl::CL_PRValue: assert(getValueKind() == VK_RValue); break;
92 case VK_RValue:
tools/clang/lib/AST/ExprConstant.cpp 5762 OpaqueValueExpr LocE(CallLoc, Info.Ctx.IntTy, VK_RValue);
tools/clang/lib/AST/ExprObjC.cpp 28 : Expr(ObjCArrayLiteralClass, T, VK_RValue, OK_Ordinary, false, false,
62 : Expr(ObjCDictionaryLiteralClass, T, VK_RValue, OK_Ordinary, false, false,
315 case VK_RValue:
tools/clang/lib/AST/JSONNodeDumper.cpp 60 case VK_RValue: Category = "rvalue"; break;
tools/clang/lib/AST/TextNodeDumper.cpp 133 case VK_RValue:
tools/clang/lib/Analysis/BodyFarm.cpp 118 BO_Assign, Ty, VK_RValue,
130 VK_RValue,
174 /* ExprValueKind=*/ VK_RValue);
182 const_cast<Expr*>(Arg), nullptr, VK_RValue);
187 const_cast<Expr*>(Arg), nullptr, VK_RValue);
271 return CallExpr::Create(C, SubExpr, CallArgs, C.VoidTy, VK_RValue,
298 /*ExprValueType=*/VK_RValue,
456 /* ExprValueKind=*/ VK_RValue,
516 /*ExprValueType=*/VK_RValue,
522 VK_RValue, OK_Ordinary, SourceLocation(),
582 CallExpr::Create(C, ICE, None, C.VoidTy, VK_RValue, SourceLocation());
tools/clang/lib/CodeGen/CGBlocks.cpp 1154 &declRef, VK_RValue);
tools/clang/lib/CodeGen/CGExprScalar.cpp 1946 if (ICE->getValueKind() != VK_RValue)
tools/clang/lib/CodeGen/CGObjC.cpp 1438 VK_RValue);
1449 &arg, VK_RValue);
1472 VK_RValue);
1480 ivarRef.getType(), VK_RValue, OK_Ordinary,
3543 DeclRefExpr DstExpr(getContext(), &DstDecl, false, DestTy, VK_RValue,
3548 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue,
3626 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue,
3652 DeclRefExpr DstExpr(getContext(), &DstDecl, false, DestTy, VK_RValue,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 847 OpaqueValueExpr OVE(DRD->getLocation(), Ty, VK_RValue);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 2635 BinaryOperator Cond(&IVRefExpr, &UBRefExpr, BO_LE, C.BoolTy, VK_RValue,
2638 UnaryOperator Inc(&IVRefExpr, UO_PreInc, KmpInt32Ty, VK_RValue, OK_Ordinary,
3155 VK_RValue));
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 588 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr,
2104 DRE, nullptr, VK_RValue);
2108 *Context, ICE, Args, FT->getCallResultType(*Context), VK_RValue, EndLoc);
2587 VK_RValue, OK_Ordinary, SourceLocation(), false);
2689 VK_RValue, EndLoc);
2715 *Context, NSArrayFD, false, NSArrayFType, VK_RValue, SourceLocation());
2810 VK_RValue, EndLoc);
2836 *Context, NSDictFD, false, NSDictFType, VK_RValue, SourceLocation());
2961 VK_RValue, EndLoc);
3171 DeclRefExpr(*Context, FD, false, castType, VK_RValue, SourceLocation());
3242 VK_RValue,
3283 VK_RValue, OK_Ordinary,
3301 VK_RValue, OK_Ordinary,
3338 VK_RValue, SourceLocation()))
3378 VK_RValue, OK_Ordinary,
3391 superType, VK_RValue, ILE,
3534 VK_RValue, EndLoc);
4575 Exp->getType(), VK_RValue, OK_Ordinary);
4645 VK_RValue, SourceLocation());
5273 DeclRefExpr(*Context, FD, false, FType, VK_RValue, SourceLocation());
5294 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_RValue,
5312 Exp = new (Context) UnaryOperator(Exp, UO_AddrOf, QT, VK_RValue,
5329 Exp = new (Context) UnaryOperator(Exp, UO_AddrOf, QT, VK_RValue,
5371 VK_RValue, OK_Ordinary, SourceLocation(),
5398 VK_RValue, OK_Ordinary, SourceLocation(), false);
7486 VK_RValue, OK_Ordinary, SourceLocation(), FPOptions());
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 494 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr,
2019 DRE, nullptr, VK_RValue);
2024 *Context, ICE, Args, FT->getCallResultType(*Context), VK_RValue, EndLoc);
2512 VK_RValue, OK_Ordinary, SourceLocation(), false);
2610 VK_RValue, SourceLocation());
2669 VK_RValue,
2712 VK_RValue, OK_Ordinary,
2730 VK_RValue, OK_Ordinary,
2764 VK_RValue, SourceLocation()))
2807 VK_RValue, OK_Ordinary,
2820 superType, VK_RValue, ILE,
2963 VK_RValue, EndLoc);
2994 VK_RValue, OK_Ordinary, SourceLocation(),
3001 returnType, VK_RValue, OK_Ordinary);
3047 VK_RValue, OK_Ordinary, SourceLocation(), false);
3743 Exp->getType(), VK_RValue, OK_Ordinary);
3813 VK_RValue, SourceLocation());
4411 DeclRefExpr(*Context, FD, false, FType, VK_RValue, SourceLocation());
4432 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_RValue,
4450 Exp = new (Context) UnaryOperator(Exp, UO_AddrOf, QT, VK_RValue,
4467 Exp = new (Context) UnaryOperator(Exp, UO_AddrOf, QT, VK_RValue,
4507 Exp, UO_AddrOf, Context->getPointerType(Exp->getType()), VK_RValue,
4525 NewRep, UO_AddrOf, Context->getPointerType(NewRep->getType()), VK_RValue,
tools/clang/lib/Sema/Sema.cpp 508 if (VK == VK_RValue && !E->isRValue()) {
522 assert((VK == VK_RValue || Kind == CK_Dependent || !E->isRValue()) &&
538 E->getValueKind() == VK_RValue) {
tools/clang/lib/Sema/SemaCast.cpp 711 if (ValueKind == VK_RValue)
864 if (ValueKind == VK_RValue)
980 if (ValueKind == VK_RValue && !isPlaceholder(BuiltinType::Overload))
1046 if (ValueKind == VK_RValue && !DestType->isRecordType() &&
2002 Expr::getValueKindForType(DestType) == VK_RValue // Convert Fun to Ptr
2444 if (ValueKind == VK_RValue && !DestType->isRecordType() &&
tools/clang/lib/Sema/SemaChecking.cpp 5959 ExprValueKind VK = VK_RValue;
tools/clang/lib/Sema/SemaCoroutine.cpp 770 if (E->getValueKind() == VK_RValue)
830 if (E->getValueKind() == VK_RValue)
tools/clang/lib/Sema/SemaDecl.cpp17550 VK_RValue));
tools/clang/lib/Sema/SemaDeclCXX.cpp 368 VK_RValue));
12042 VK_RValue, OK_Ordinary, Loc, false);
12046 VK_RValue, OK_Ordinary, Loc, false);
12068 VK_RValue, Loc, nullptr);
12284 VK_RValue, OK_Ordinary, Loc, FPOptions());
13367 BuildBlock.get(), nullptr, VK_RValue);
tools/clang/lib/Sema/SemaExpr.cpp 641 Res = ImplicitCastExpr::Create(Context, T, CK, E, nullptr, VK_RValue);
649 nullptr, VK_RValue);
3004 ExprValueKind valueKind = VK_RValue;
3025 valueKind = VK_RValue;
3055 valueKind = VK_RValue;
3069 valueKind = VK_RValue;
3111 valueKind = VK_RValue;
3122 valueKind = VK_RValue;
3143 valueKind = VK_RValue;
3162 valueKind = VK_RValue;
3176 valueKind = VK_RValue;
4690 if (getLangOpts().CPlusPlus11 && LHSExp->getValueKind() == VK_RValue) {
4697 if (VK != VK_RValue)
4764 if (!ResultType.hasQualifiers()) VK = VK_RValue;
4770 assert(VK == VK_RValue || LangOpts.CPlusPlus ||
5632 VK_RValue, RParenLoc);
5646 Context.DependentTy, VK_RValue, RParenLoc);
5654 VK_RValue, RParenLoc);
5683 VK_RValue, RParenLoc);
5754 ExprValueKind VK = VK_RValue;
5876 ResultTy, VK_RValue, RParenLoc, NumParams);
5878 TheCall = CallExpr::Create(Context, Fn, Args, ResultTy, VK_RValue,
5905 Context, Fn, cast<CallExpr>(Config), Args, ResultTy, VK_RValue,
5908 TheCall = CallExpr::Create(Context, Fn, Args, ResultTy, VK_RValue,
6102 ? VK_RValue
6250 /*base path*/ nullptr, VK_RValue);
7344 VK = VK_RValue;
7864 ExprValueKind VK = VK_RValue;
8126 OpaqueValueExpr RHSExpr(Loc, RHSType, VK_RValue);
8486 VK_RValue, Initializer, false);
8625 RHS = ImpCastExprToType(RHS.get(), LHSType, Kind, VK_RValue, &Path);
12198 VK = VK_RValue;
12576 VK = VK_RValue;
12826 ExprValueKind VK = VK_RValue;
13454 ExprValueKind VK = VK_RValue;
13627 if (Input.get()->getValueKind() != VK_RValue &&
14043 ExprValueKind VK = VK_RValue;
17380 assert(E->getValueKind() == VK_RValue);
17390 assert(E->getValueKind() == VK_RValue);
17481 assert(E->getValueKind() == VK_RValue);
17641 assert(E->getValueKind() == VK_RValue);
17655 assert(E->getValueKind() == VK_RValue);
17688 CK_FunctionToPointerDecay, VK_RValue);
17730 ValueKind = VK_RValue;
17736 ValueKind = VK_RValue;
17935 VK_RValue, SourceLocation());
tools/clang/lib/Sema/SemaExprCXX.cpp 3957 From, /*BasePath=*/nullptr, VK_RValue);
3973 VK_RValue, /*BasePath=*/nullptr, CCK).get();
3979 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4022 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4025 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4032 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4051 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4058 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4061 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4066 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4112 From = ImpCastExprToType(From, ToType, Kind, VK_RValue, &BasePath, CCK)
4132 From = ImpCastExprToType(From, ToType, Kind, VK_RValue, &BasePath, CCK)
4146 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4164 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4170 From = ImpCastExprToType(Elem, ToType, CK_VectorSplat, VK_RValue,
4209 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4217 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4222 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4237 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4284 VK_RValue, /*BasePath=*/nullptr, CCK).get();
4291 ToType->isReferenceType() ? From->getValueKind() : VK_RValue;
4331 VK_RValue, nullptr, CCK).get();
5488 ExprValueKind VK = isIndirect ? VK_RValue : LHS.get()->getValueKind();
5550 VK = VK_RValue;
5763 VK = VK_RValue;
5852 LVK == RVK && LVK != VK_RValue) {
5886 if (Same && LVK == RVK && LVK != VK_RValue &&
6457 VK_RValue);
7228 Context.BoundMemberTy, VK_RValue, OK_Ordinary);
tools/clang/lib/Sema/SemaExprMember.cpp 414 if (HasRepeated) VK = VK_RValue;
1142 valueKind = VK_RValue;
1158 MemberNameInfo, Enum->getType(), VK_RValue,
1770 VK = VK_RValue;
1772 if (VK != VK_RValue && Field->isBitField())
tools/clang/lib/Sema/SemaExprObjC.cpp 1631 VK = VK_RValue;
2478 Context, ReceiverType, VK_RValue, LBracLoc, ReceiverTypeInfo, Sel,
2526 ExprValueKind VK = VK_RValue;
2721 Context, Context.DependentTy, VK_RValue, LBracLoc, Receiver, Sel,
3024 ExprValueKind VK = VK_RValue;
4272 nullptr, VK_RValue);
4499 SubExpr, nullptr, VK_RValue);
4538 nullptr, VK_RValue);
tools/clang/lib/Sema/SemaFixItUtils.cpp 136 S, Begin, VK_RValue);
tools/clang/lib/Sema/SemaInit.cpp 148 E->setValueKind(VK_RValue);
170 E->setValueKind(VK_RValue);
2885 Init, nullptr, VK_RValue);
2907 Init, nullptr, VK_RValue);
3534 case VK_RValue: S.Kind = SK_CastDerivedToBaseRValue; break;
3583 case VK_RValue:
4024 Sequence.AddQualificationConversionStep(DestType, VK_RValue);
4108 Sequence.AddQualificationConversionStep(DestType, VK_RValue);
4593 ExprValueKind VK = VK_RValue;
4629 VK = VK_RValue;
4641 Sequence.AddReferenceBindingStep(cv1T4, VK == VK_RValue);
4836 ExprValueKind ValueKind = InitCategory.isXValue() ? VK_XValue : VK_RValue;
4868 Sequence.AddReferenceBindingStep(cv1T4, ValueKind == VK_RValue);
5260 Sequence.AddQualificationConversionStep(DestType, VK_RValue);
5284 Sequence.AddQualificationConversionStep(DestType, VK_RValue);
5728 if (Initializer->getValueKind() == VK_RValue) {
7731 if (VK == VK_RValue) {
7971 VK_RValue);
8138 : VK_RValue);
8146 CK_NonAtomicToAtomic, VK_RValue);
8444 CurInit.get(), nullptr, VK_RValue);
8500 /*BasePath=*/nullptr, VK_RValue);
tools/clang/lib/Sema/SemaLambda.cpp 683 E, /*base path*/ nullptr, VK_RValue);
tools/clang/lib/Sema/SemaLookup.cpp 3172 VK = VK_RValue;
3190 RValueThis ? VK_RValue : VK_LValue).Classify(Context);
tools/clang/lib/Sema/SemaObjCProperty.cpp 1421 VK_RValue);
1473 VK_RValue);
tools/clang/lib/Sema/SemaOpenMP.cpp 8400 OpaqueValueExpr(X->getExprLoc(), X->getType(), VK_RValue);
8402 OpaqueValueExpr(E->getExprLoc(), E->getType(), VK_RValue);
13385 new (Context) OpaqueValueExpr(ELoc, Context.getSizeType(), VK_RValue),
13552 ELoc, Context.getPointerType(FnTy), VK_RValue, OK_Ordinary,
13556 CallExpr::Create(Context, OVE, Args, Context.VoidTy, VK_RValue, ELoc);
tools/clang/lib/Sema/SemaOverload.cpp 7141 &ConversionRef, VK_RValue);
12355 VK_RValue, RParenLoc);
12562 VK_RValue, OK_Ordinary, OpLoc, false);
12569 Context.DependentTy, VK_RValue, OpLoc,
12744 Args[0], Args[1], Opc, Context.DependentTy, VK_RValue, OK_Ordinary,
12761 Context.DependentTy, VK_RValue, OpLoc,
13152 Context.DependentTy, VK_RValue, RLoc,
13365 return CallExpr::Create(Context, MemExprE, Args, Context.VoidTy, VK_RValue,
13748 nullptr, VK_RValue);
14219 VK_RValue, OK_Ordinary,
14230 VK_RValue, OK_Ordinary,
14293 valueKind = VK_RValue;
tools/clang/lib/Sema/SemaPseudoObject.cpp 1565 VK_RValue, OK_Ordinary, opcLoc, false);
1595 VK_RValue, OK_Ordinary, opcLoc,
tools/clang/lib/Sema/SemaStmt.cpp 571 Context.BoolTy, VK_RValue),
1932 VK_RValue);
tools/clang/lib/Sema/SemaTemplate.cpp 6428 ParamType->isRValueReferenceType() ? VK_XValue : VK_RValue);
6990 VK = VK_RValue;
7041 ExprValueKind VK = VK_RValue;
7109 E = CStyleCastExpr::Create(Context, OrigT, VK_RValue, CK_IntegralCast, E,
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp 1292 TargetType->isReferenceType() ? VK_LValue : VK_RValue, NTTP,
tools/clang/lib/Sema/SemaType.cpp 8375 case VK_RValue: break;
tools/clang/lib/Sema/TreeTransform.h 3236 SemaRef.Context.BuiltinFnTy, VK_RValue, BuiltinLoc);
12022 VD->getType()->isReferenceType() ? VK_LValue : VK_RValue,
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp 88 case VK_RValue: