/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | HLSLExternalSemaSource.cpp | 184 Fields["h"]->getType(), VK_LValue, in addDefaultHandleConstructor() 198 AST, Handle, Call, BO_Assign, Handle->getType(), VK_LValue, OK_Ordinary, in addDefaultHandleConstructor() 270 AST, This, false, Handle, Handle->getType(), VK_LValue, OK_Ordinary); in addArraySubscriptOperator() 278 new (AST) ArraySubscriptExpr(HandleAccess, IndexExpr, ElemTy, VK_LValue, in addArraySubscriptOperator() 465 AST.IntTy, VK_LValue), in defineHLSLVectorAlias()
|
H A D | SemaExprMember.cpp | 927 S.Context.PseudoObjectTy, VK_LValue, in BuildMSPropertyRefExpr() 1157 VK_LValue, OK_Ordinary); in BuildMemberReferenceExpr() 1167 valueKind = VK_LValue; in BuildMemberReferenceExpr() 1211 VK_LValue, OK_Ordinary, TemplateArgs); in BuildMemberReferenceExpr() 1565 ObjCPropertyRefExpr(PD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr() 1581 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr() 1638 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr() 1670 ExprValueKind VK = (IsArrow ? VK_LValue : BaseExpr.get()->getValueKind()); in LookupMemberExpr() 1832 ExprValueKind VK = VK_LValue; in BuildFieldReferenceExpr() 1847 VK = VK_LValue; in BuildFieldReferenceExpr()
|
H A D | SemaCoroutine.cpp | 376 OpaqueValueExpr(Loc, E->getType(), VK_LValue, E->getObjectKind(), E); in buildCoawaitCalls() 471 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc); in buildPromiseCall() 537 ExprValueKind::VK_LValue, FD->getLocation()); in buildCoroutinePromise() 1032 ExprResult DR = S.BuildDeclRefExpr(VD, VD->getType(), VK_LValue, Loc); in buildStdNoThrowDeclRef() 1310 ExprValueKind::VK_LValue, PDLoc); in collectPlacementArgs() 1541 S.BuildDeclRefExpr(OperatorNew, OperatorNew->getType(), VK_LValue, Loc); in makeNewAndDeleteExpr() 1563 S.BuildDeclRefExpr(OperatorDelete, OpDeleteQualType, VK_LValue, Loc); in makeNewAndDeleteExpr() 1817 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() 1888 ExprValueKind::VK_LValue, Loc); // FIXME: scope? in buildCoroutineParameterMoves()
|
H A D | SemaFixItUtils.cpp | 98 S, Begin, VK_LValue); in tryToFixConversion()
|
H A D | SemaExprObjC.cpp | 796 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript, in BuildObjCSubscriptExpression() 2019 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2023 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2036 PD, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty, MemberLoc, in HandleExprPropertyRefExpr() 2040 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2105 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2109 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2261 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in ActOnClassPropertyRefExpr() 2266 Getter, Setter, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty, in ActOnClassPropertyRefExpr()
|
H A D | SemaInit.cpp | 3887 case VK_LValue: S.Kind = SK_CastDerivedToBaseLValue; break; in AddDerivedToBaseCastStep() 3940 case VK_LValue: in AddQualificationConversionStep() 4661 cv1T1, DestType->isRValueReferenceType() ? VK_XValue : VK_LValue); in TryReferenceListInitialization() 5008 VK = VK_LValue; in TryRefInitWithConversionFunction() 5010 VK = RRef->getPointeeType()->isFunctionType() ? VK_LValue : VK_XValue; in TryRefInitWithConversionFunction() 5050 VK = IsLValueRef ? VK_LValue : VK_XValue; in TryRefInitWithConversionFunction() 5158 Sequence.AddDerivedToBaseCastStep(cv1T1, VK_LValue); in TryReferenceInitializationCore() 5299 ValueKind = isLValueRef ? VK_LValue : VK_XValue; in TryReferenceInitializationCore() 5426 Sequence.AddQualificationConversionStep(cv1T1, isLValueRef ? VK_LValue in TryReferenceInitializationCore() 7736 ? VK_LValue in Perform() [all …]
|
H A D | SemaStmt.cpp | 2638 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2643 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2840 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2845 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2868 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2889 VK_LValue, ColonLoc); in BuildCXXForRangeStmt()
|
H A D | SemaExpr.cpp | 2689 return BuildDeclRefExpr(VD, type, VK_LValue, NameLoc); in ActOnIdExpression() 3295 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3303 valueKind = VK_LValue; // even if the parameter is an r-value reference in BuildDeclarationNameExpr() 3314 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3341 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3358 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3383 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3409 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3413 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3430 valueKind = VK_LValue; in BuildDeclarationNameExpr() [all …]
|
H A D | SemaObjCProperty.cpp | 1434 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl() 1496 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl() 1512 DeclRefExpr(Context, Param, false, T, VK_LValue, PropertyDiagLoc); in ActOnPropertyImplDecl()
|
H A D | SemaDeclCXX.cpp | 972 ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc); in checkSimpleDecomposition() 1260 ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc); in checkTupleLikeDecomposition() 1492 ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc); in checkMemberDecomposition() 1496 VK_LValue, &BasePath); in checkMemberDecomposition() 4814 VK_LValue, nullptr); in BuildImplicitBaseInitializer() 4831 Moving ? VK_XValue : VK_LValue, in BuildImplicitBaseInitializer() 4887 Loc, ParamType, VK_LValue, nullptr); in BuildImplicitMemberInitializer() 8037 OpaqueValueExpr Xi(FD->getLocation(), Type, VK_LValue); in visitExpandedSubobject() 8450 CK_DerivedToBase, VK_LValue, &Path), in getBase() 8452 CK_DerivedToBase, VK_LValue, in getBase() [all...] |
H A D | SemaCUDA.cpp | 64 getASTContext(), ConfigDecl, false, ConfigQTy, VK_LValue, LLLLoc); in ActOnExecConfigExpr()
|
H A D | SemaOpenMP.cpp | 1581 VK_LValue); in buildDeclRefExpr() 2497 VK_LValue, OK_Ordinary); in isOpenMPCapturedDecl() 3212 Id.getLoc(), ExprType, VK_LValue); in ActOnOpenMPIdExpression() 5422 DistParam, LogicalTy, VK_LValue, {}, nullptr, nullptr, {}, nullptr); in buildDistanceFunc() 5577 TargetParam, LoopVarTy, VK_LValue, {}, nullptr, nullptr, {}, nullptr); in buildLoopVarFunc() 5580 IndvarParam, LogicalTy, VK_LValue, {}, nullptr, nullptr, {}, nullptr); in buildLoopVarFunc() 5752 SemaRef.BuildDeclRefExpr(LUVDecl, LUVDecl->getType(), VK_LValue, {}, in ActOnOpenMPCanonicalLoop() 5856 VK_LValue, OK_Ordinary, E); in processImplicitMapsWithDefaultMappers() 5866 P.first->getType(), VK_LValue, OK_Ordinary); in processImplicitMapsWithDefaultMappers() 5876 CurFD->getType(), VK_LValue, OK_Ordinary); in processImplicitMapsWithDefaultMappers() [all …]
|
H A D | SemaLookup.cpp | 3353 ExprValueKind VK = VK_LValue; in LookupSpecialMember() 3405 VK = VK_LValue; in LookupSpecialMember() 3424 OpaqueValueExpr(LookupLoc, ThisTy, RValueThis ? VK_PRValue : VK_LValue) in LookupSpecialMember()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 885 *Context, PE, true, FD, FD->getType(), VK_LValue, OK_Ordinary); in getIvarAccessString() 2104 VK_LValue, SourceLocation()); in SynthesizeCallToFunctionDecl() 2591 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation()); in RewriteObjCStringLiteral() 2680 *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation()); in RewriteObjCBoxedExpr() 2736 CallExpr::Create(*Context, NSArrayDRE, InitExprs, NSArrayFType, VK_LValue, in RewriteObjCArrayLiteralExpr() 2747 ARRFD->getType(), VK_LValue, OK_Ordinary); in RewriteObjCArrayLiteralExpr() 2801 *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation()); in RewriteObjCArrayLiteralExpr() 2865 CallExpr::Create(*Context, NSDictDRE, ValueExprs, NSDictFType, VK_LValue, in RewriteObjCDictionaryLiteralExpr() 2876 ARRFD->getType(), VK_LValue, OK_Ordinary); in RewriteObjCDictionaryLiteralExpr() 2885 CallExpr::Create(*Context, NSDictDRE, KeyExprs, NSDictFType, VK_LValue, in RewriteObjCDictionaryLiteralExpr() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTResultSynthesizer.cpp | 204 assert(lvalue_expr->getValueKind() == VK_LValue && in CanTakeAddressOfLValue() 311 bool is_lvalue = last_expr->getValueKind() == VK_LValue && in SynthesizeBodyResult()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Specifiers.h | 136 VK_LValue, enumerator
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 476 : Expr(SC, Context.OverloadTy, VK_LValue, OK_Ordinary), NameInfo(NameInfo), in OverloadExpr() 517 : Expr(DependentScopeDeclRefExprClass, Ty, VK_LValue, OK_Ordinary), in DependentScopeDeclRefExpr() 1050 Ty->isLValueReferenceType() ? VK_LValue in CXXDefaultInitExpr() 1459 (TSI->getType()->isLValueReferenceType() ? VK_LValue in CXXUnresolvedConstructExpr() 1498 : Expr(CXXDependentScopeMemberExprClass, Ctx.DependentTy, VK_LValue, in CXXDependentScopeMemberExpr() 1572 Ctx.getLangOpts().HLSL ? VK_LValue : VK_PRValue); in Create() 1787 : Expr(FunctionParmPackExprClass, T, VK_LValue, OK_Ordinary), in FunctionParmPackExpr() 1815 BoundToLvalueReference ? VK_LValue : VK_XValue, OK_Ordinary) { in MaterializeTemporaryExpr()
|
H A D | ExprClassification.cpp | 100 case VK_LValue: in ClassifyExprValueKind()
|
H A D | Expr.cpp | 620 : Expr(PredefinedExprClass, FNTy, VK_LValue, OK_Ordinary) { in PredefinedExpr() 1130 : Expr(StringLiteralClass, Ty, VK_LValue, OK_Ordinary) { in StringLiteral() 5117 T->isDependentType() ? VK_LValue : getValueKindForType(T), in RecoveryExpr() 5159 : Expr(OMPArrayShapingExprClass, ExprTy, VK_LValue, OK_Ordinary), LPLoc(L), in OMPArrayShapingExpr() 5281 : Expr(OMPIteratorExprClass, ExprTy, VK_LValue, OK_Ordinary), in OMPIteratorExpr()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 1340 argVar->getType().getNonReferenceType(), VK_LValue, in emitStructSetterCall() 1384 argVar->getType().getNonReferenceType(), VK_LValue, in emitCPPObjectAtomicSetterCall() 1570 VK_LValue, SourceLocation()); in generateObjCSetterBody() 1580 DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue, in generateObjCSetterBody() 1748 Self->getType(), VK_LValue, SourceLocation()); in LoadObjCSelf() 1932 D->getType(), VK_LValue, SourceLocation()); in EmitObjCForCollectionStmt() 3765 C, &DstExpr, UO_Deref, DestTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicSetterCopyHelperFunction() 3770 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicSetterCopyHelperFunction() 3777 VK_LValue, SourceLocation(), FPOptionsOverride()); in GenerateObjCAtomicSetterCopyHelperFunction() 3864 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicGetterCopyHelperFunction()
|
H A D | CGStmtOpenMP.cpp | 102 VD->getType().getNonReferenceType(), VK_LValue, C.getLocation()); in OMPLexicalScope() 299 VD->getType().getNonReferenceType(), VK_LValue, in OMPSimdLexicalScope() 325 OrigDRE->getType(), VK_LValue, OrigDRE->getExprLoc()); in EmitOMPSharedLValue() 881 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPFirstprivateClause() 1019 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPCopyinClause() 1098 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPLastprivateClauseInit() 2184 VD->getInit()->getType(), VK_LValue, in EmitOMPLinearClauseInit() 2230 (*IC)->getType(), VK_LValue, (*IC)->getExprLoc()); in EmitOMPLinearClauseFinal() 2297 E->getType(), VK_LValue, E->getExprLoc()); in EmitOMPPrivateLoopCounters() 2468 (*IPC)->getType(), VK_LValue, (*IPC)->getExprLoc()); in EmitOMPSimdFinal() [all …]
|
H A D | CGBlocks.cpp | 937 type.getNonReferenceType(), VK_LValue, in EmitBlockLiteral() 1011 type, VK_LValue, SourceLocation()); in EmitBlockLiteral()
|
H A D | CGDecl.cpp | 606 Var.getType(), VK_LValue, SourceLocation()); in Emit() 624 Var.getType(), VK_LValue, SourceLocation()); in Emit()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ExprCXX.h | 854 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXTypeidExpr() 860 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXTypeidExpr() 1077 : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXUuidofExpr() 1083 : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXUuidofExpr() 4396 : Expr(PackIndexingExprClass, Type, VK_LValue, OK_Ordinary), in Expr() argument
|
H A D | Expr.h | 277 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() 430 ? VK_LValue in getValueKindForType() 432 ? VK_LValue : VK_XValue)); in getValueKindForType() 6773 : Expr(TypoExprClass, T, VK_LValue, OK_Ordinary), TypoLoc(TypoLoc) { in TypoExpr()
|