Home
last modified time | relevance | path

Searched refs:VK_LValue (Results 1 – 25 of 84) sorted by relevance

1234

/external/llvm-project/clang/lib/Sema/
DSemaCoroutine.cpp304 S.BuildDeclRefExpr(BuiltInDecl, BuiltInDecl->getType(), VK_LValue, Loc); in buildBuiltinCall()
426 OpaqueValueExpr(Loc, E->getType(), VK_LValue, E->getObjectKind(), E); in buildCoawaitCalls()
521 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc); in buildPromiseCall()
586 ExprValueKind::VK_LValue, FD->getLocation()); in buildCoroutinePromise()
1053 ExprResult DR = S.BuildDeclRefExpr(VD, VD->getType(), VK_LValue, Loc); in buildStdNoThrowDeclRef()
1304 ExprValueKind::VK_LValue, PDLoc); in makeNewAndDeleteExpr()
1382 S.BuildDeclRefExpr(OperatorNew, OperatorNew->getType(), VK_LValue, Loc); in makeNewAndDeleteExpr()
1401 S.BuildDeclRefExpr(OperatorDelete, OpDeleteQualType, VK_LValue, Loc); in makeNewAndDeleteExpr()
1609 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt()
1667 ExprValueKind::VK_LValue, Loc); // FIXME: scope? in buildCoroutineParameterMoves()
DSemaExprMember.cpp889 S.Context.PseudoObjectTy, VK_LValue, in BuildMSPropertyRefExpr()
1115 VK_LValue, OK_Ordinary); in BuildMemberReferenceExpr()
1125 valueKind = VK_LValue; in BuildMemberReferenceExpr()
1166 Var->getType().getNonReferenceType(), VK_LValue, OK_Ordinary); in BuildMemberReferenceExpr()
1503 ObjCPropertyRefExpr(PD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
1519 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
1576 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
1600 VK = VK_LValue; in LookupMemberExpr()
1776 ExprValueKind VK = VK_LValue; in BuildFieldReferenceExpr()
1791 VK = VK_LValue; in BuildFieldReferenceExpr()
DSemaFixItUtils.cpp98 S, Begin, VK_LValue); in tryToFixConversion()
/external/clang/lib/Sema/
DSemaExprMember.cpp902 S.Context.PseudoObjectTy, VK_LValue, in BuildMSPropertyRefExpr()
1173 Var->getType().getNonReferenceType(), VK_LValue, in BuildMemberReferenceExpr()
1184 valueKind = VK_LValue; in BuildMemberReferenceExpr()
1204 Var->getType().getNonReferenceType(), VK_LValue, in BuildMemberReferenceExpr()
1536 ObjCPropertyRefExpr(PD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
1555 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
1609 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
1633 VK = VK_LValue; in LookupMemberExpr()
1769 ExprValueKind VK = VK_LValue; in BuildFieldReferenceExpr()
1784 VK = VK_LValue; in BuildFieldReferenceExpr()
DSemaCoroutine.cpp202 Loc, E->getType(), VK_LValue, E->getObjectKind(), E); in buildCoawaitCalls()
268 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc); in buildPromiseCall()
DSemaFixItUtils.cpp99 S, Begin, VK_LValue); in tryToFixConversion()
DSemaExprObjC.cpp762 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript, in BuildObjCSubscriptExpression()
1787 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr()
1791 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr()
1804 PD, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty, MemberLoc, in HandleExprPropertyRefExpr()
1808 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr()
1873 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr()
1877 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr()
2024 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in ActOnClassPropertyRefExpr()
2029 Getter, Setter, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty, in ActOnClassPropertyRefExpr()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp885 *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 …]
DRewriteObjC.cpp2021 VK_LValue, SourceLocation()); in SynthesizeCallToFunctionDecl()
2518 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation()); in RewriteObjCStringLiteral()
2602 msgSendType, VK_LValue, SourceLocation()); in SynthMsgSendStretCallExpr()
2712 VK_LValue, SourceLocation()); in SynthMessageExpr()
2714 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr()
2737 superType, VK_LValue, in SynthMessageExpr()
2808 VK_LValue, SourceLocation()); in SynthMessageExpr()
2810 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr()
2952 *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation()); in SynthMessageExpr()
3056 *Context, VD, false, getProtocolType(), VK_LValue, SourceLocation()); in RewriteObjCProtocolExpr()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp883 FD->getType(), VK_LValue, OK_Ordinary); in getIvarAccessString()
2097 new (Context) DeclRefExpr(FD, false, msgSendType, VK_LValue, SourceLocation()); in SynthesizeCallToFunctionDecl()
2584 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral()
2674 VK_LValue, SourceLocation()); in RewriteObjCBoxedExpr()
2733 NSArrayFType, VK_LValue, SourceLocation()); in RewriteObjCArrayLiteralExpr()
2743 SourceLocation(), ARRFD->getType(), VK_LValue, OK_Ordinary); in RewriteObjCArrayLiteralExpr()
2797 VK_LValue, SourceLocation()); in RewriteObjCArrayLiteralExpr()
2864 NSDictFType, VK_LValue, SourceLocation()); in RewriteObjCDictionaryLiteralExpr()
2874 SourceLocation(), ARRFD->getType(), VK_LValue, OK_Ordinary); in RewriteObjCDictionaryLiteralExpr()
2884 NSDictFType, VK_LValue, SourceLocation()); in RewriteObjCDictionaryLiteralExpr()
[all …]
DRewriteObjC.cpp2012 VK_LValue, SourceLocation()); in SynthesizeCallToFunctionDecl()
2508 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral()
2593 VK_LValue, SourceLocation()); in SynthMsgSendStretCallExpr()
2700 false, superType, VK_LValue, in SynthMessageExpr()
2703 superType, VK_LValue, in SynthMessageExpr()
2726 superType, VK_LValue, in SynthMessageExpr()
2795 false, superType, VK_LValue, in SynthMessageExpr()
2798 superType, VK_LValue, SourceLocation()); in SynthMessageExpr()
2939 VK_LValue, SourceLocation()); in SynthMessageExpr()
3044 VK_LValue, SourceLocation()); in RewriteObjCProtocolExpr()
[all …]
/external/clang/include/clang/Basic/
DSpecifiers.h109 VK_LValue, enumerator
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp104 ExprValueKind ValueKind = VK_LValue);
143 RefersToEnclosingVariableOrCapture, SourceLocation(), Type, VK_LValue); in makeDeclRefExpr()
149 VK_LValue, OK_Ordinary, SourceLocation(), in makeDereference()
288 /* VK =*/ VK_LValue); in create_call_once_lambda_call()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DReplaceAutoPtrCheck.cpp36 AST_MATCHER(Expr, isLValue) { return Node.getValueKind() == VK_LValue; } in AST_MATCHER()
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h114 VK_LValue, enumerator
/external/clang/lib/AST/
DExprCXX.cpp260 : Expr(K, C.OverloadTy, VK_LValue, OK_Ordinary, KnownDependent, in OverloadExpr()
347 : Expr(DependentScopeDeclRefExprClass, T, VK_LValue, OK_Ordinary, in DependentScopeDeclRefExpr()
696 T->isLValueReferenceType() ? VK_LValue : T->isRValueReferenceType() in CXXDefaultInitExpr()
1068 (Type->getType()->isLValueReferenceType() ? VK_LValue in CXXUnresolvedConstructExpr()
1114 : Expr(CXXDependentScopeMemberExprClass, C.DependentTy, VK_LValue, in CXXDependentScopeMemberExpr()
1346 : Expr(FunctionParmPackExprClass, T, VK_LValue, OK_Ordinary, true, true, in FunctionParmPackExpr()
DExprClassification.cpp56 case Cl::CL_LValue: assert(getValueKind() == VK_LValue); break; in ClassifyImpl()
94 case VK_LValue: in ClassifyExprValueKind()
/external/clang/lib/Analysis/
DBodyFarm.cpp118 /* VK = */ VK_LValue); in makeDeclRefExpr()
124 VK_LValue, OK_Ordinary, SourceLocation()); in makeDereference()
/external/llvm-project/clang/lib/AST/
DExprCXX.cpp421 : Expr(SC, Context.OverloadTy, VK_LValue, OK_Ordinary), NameInfo(NameInfo), in OverloadExpr()
462 : Expr(DependentScopeDeclRefExprClass, Ty, VK_LValue, OK_Ordinary), in DependentScopeDeclRefExpr()
955 ? VK_LValue in CXXDefaultInitExpr()
1330 ? VK_LValue in CXXUnresolvedConstructExpr()
1367 : Expr(CXXDependentScopeMemberExprClass, Ctx.DependentTy, VK_LValue, in CXXDependentScopeMemberExpr()
1599 : Expr(FunctionParmPackExprClass, T, VK_LValue, OK_Ordinary), in FunctionParmPackExpr()
1627 BoundToLvalueReference ? VK_LValue : VK_XValue, OK_Ordinary) { in MaterializeTemporaryExpr()
DExprClassification.cpp56 case Cl::CL_LValue: assert(getValueKind() == VK_LValue); break; in ClassifyImpl()
94 case VK_LValue: in ClassifyExprValueKind()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp71 VD->getType().getNonReferenceType(), VK_LValue, in OMPLexicalScope()
609 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPFirstprivateClause()
718 VK_LValue, (*IRef)->getExprLoc()); in EmitOMPCopyinClause()
791 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPLastprivateClauseInit()
1059 IRef->getType(), VK_LValue, IRef->getExprLoc()); in EmitOMPReductionClauseInit()
1102 IRef->getType(), VK_LValue, IRef->getExprLoc()); in EmitOMPReductionClauseInit()
1333 VD->getInit()->getType(), VK_LValue, in EmitOMPLinearClauseInit()
1376 (*IC)->getType(), VK_LValue, (*IC)->getExprLoc()); in EmitOMPLinearClauseFinal()
1440 (*I)->getType(), VK_LValue, (*I)->getExprLoc()); in EmitOMPPrivateLoopCounters()
1448 E->getType(), VK_LValue, E->getExprLoc()); in EmitOMPPrivateLoopCounters()
[all …]
DCGObjC.cpp1054 VK_LValue, SourceLocation()); in emitStructSetterCall()
1098 VK_LValue, SourceLocation()); in emitCPPObjectAtomicSetterCall()
1268 VK_LValue, SourceLocation()); in generateObjCSetterBody()
1278 DeclRefExpr arg(argDecl, false, argType, VK_LValue, SourceLocation()); in generateObjCSetterBody()
1440 Self->getType(), VK_LValue, SourceLocation()); in LoadObjCSelf()
1627 VK_LValue, SourceLocation()); in EmitObjCForCollectionStmt()
3222 VK_LValue, OK_Ordinary, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3227 VK_LValue, OK_Ordinary, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3233 VK_LValue, SourceLocation(), false); in GenerateObjCAtomicSetterCopyHelperFunction()
3303 VK_LValue, OK_Ordinary, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction()
/external/llvm-project/clang/include/clang/AST/
DExprObjC.h416 : Expr(ObjCEncodeExprClass, T, VK_LValue, OK_Ordinary), in ObjCEncodeExpr()
566 : Expr(ObjCIvarRefExprClass, t, VK_LValue,
1498 : Expr(ObjCIsaExprClass, ty, VK_LValue, OK_Ordinary), Base(base), in ObjCIsaExpr()
1583 : Expr(ObjCIndirectCopyRestoreExprClass, type, VK_LValue, OK_Ordinary), in ObjCIndirectCopyRestoreExpr()
/external/clang/include/clang/AST/
DExprObjC.h361 : Expr(ObjCEncodeExprClass, T, VK_LValue, OK_Ordinary,
494 Expr(ObjCIvarRefExprClass, t, VK_LValue,
1398 : Expr(ObjCIsaExprClass, ty, VK_LValue, OK_Ordinary,
1481 : Expr(ObjCIndirectCopyRestoreExprClass, type, VK_LValue, OK_Ordinary,
/external/llvm-project/clang/lib/CodeGen/
DCGObjC.cpp1304 argVar->getType().getNonReferenceType(), VK_LValue, in emitStructSetterCall()
1350 argVar->getType().getNonReferenceType(), VK_LValue, in emitCPPObjectAtomicSetterCall()
1522 VK_LValue, SourceLocation()); in generateObjCSetterBody()
1532 DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue, in generateObjCSetterBody()
1694 Self->getType(), VK_LValue, SourceLocation()); in LoadObjCSelf()
1881 D->getType(), VK_LValue, SourceLocation()); in EmitObjCForCollectionStmt()
3671 C, &DstExpr, UO_Deref, DestTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicSetterCopyHelperFunction()
3676 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicSetterCopyHelperFunction()
3683 VK_LValue, SourceLocation(), FPOptionsOverride()); in GenerateObjCAtomicSetterCopyHelperFunction()
3756 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicGetterCopyHelperFunction()

1234