reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/Expr.h
  258   bool isLValue() const { return getValueKind() == VK_LValue; }
  407                 ? VK_LValue
  409                      ? VK_LValue : VK_XValue));
 5939       : Expr(TypoExprClass, T, VK_LValue, OK_Ordinary,
tools/clang/include/clang/AST/ExprCXX.h
  771       : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary,
  782       : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary,
 1009       : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary, false,
 1016       : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary, false,
 4441              BoundToLvalueReference? VK_LValue : VK_XValue, OK_Ordinary,
 4493     return getValueKind() == VK_LValue;
tools/clang/include/clang/AST/ExprObjC.h
  414       : Expr(ObjCEncodeExprClass, T, VK_LValue, OK_Ordinary,
  565       : Expr(ObjCIvarRefExprClass, t, VK_LValue,
 1508       : Expr(ObjCIsaExprClass, ty, VK_LValue, OK_Ordinary,
 1594       : Expr(ObjCIndirectCopyRestoreExprClass, type, VK_LValue, OK_Ordinary,
tools/clang/lib/AST/Expr.cpp
  611     : Expr(PredefinedExprClass, FNTy, VK_LValue, OK_Ordinary,
 1031     : Expr(StringLiteralClass, Ty, VK_LValue, OK_Ordinary, false, false, false,
 3806     assert((E->getValueKind() == VK_LValue &&
tools/clang/lib/AST/ExprCXX.cpp
  457           SC, Context.OverloadTy, VK_LValue, OK_Ordinary, KnownDependent,
  529           DependentScopeDeclRefExprClass, Ty, VK_LValue, OK_Ordinary, true,
  996            Ty->isLValueReferenceType() ? VK_LValue : Ty->isRValueReferenceType()
 1360                 ? VK_LValue
 1402     : Expr(CXXDependentScopeMemberExprClass, Ctx.DependentTy, VK_LValue,
 1633     : Expr(FunctionParmPackExprClass, T, VK_LValue, OK_Ordinary, true, true,
tools/clang/lib/AST/ExprClassification.cpp
   56   case Cl::CL_LValue: assert(getValueKind() == VK_LValue); break;
   94   case VK_LValue:
tools/clang/lib/AST/ExprObjC.cpp
  311   case VK_LValue:
tools/clang/lib/AST/JSONNodeDumper.cpp
   58     case VK_LValue: Category = "lvalue"; break;
tools/clang/lib/AST/TextNodeDumper.cpp
  135       case VK_LValue:
tools/clang/lib/Analysis/BodyFarm.cpp
  104                                    ExprValueKind ValueKind = VK_LValue);
  145       RefersToEnclosingVariableOrCapture, SourceLocation(), Type, VK_LValue);
  151                                VK_LValue, OK_Ordinary, SourceLocation(),
  292                           /* VK =*/ VK_LValue);
tools/clang/lib/Analysis/ThreadSafety.cpp
 1942     DeclRefExpr DRE(VD->getASTContext(), VD, false, VD->getType(), VK_LValue,
 2480                           VD->getType().getNonReferenceType(), VK_LValue,
tools/clang/lib/Analysis/ThreadSafetyCommon.cpp
  131                         SelfDecl->getType(), VK_LValue,
tools/clang/lib/CodeGen/CGBlocks.cpp
 1077                           type.getNonReferenceType(), VK_LValue,
 1151                           type, VK_LValue, SourceLocation());
tools/clang/lib/CodeGen/CGDecl.cpp
  551                       Var.getType(), VK_LValue, SourceLocation());
  569                       Var.getType(), VK_LValue, SourceLocation());
  694       if (srcExpr->getValueKind() == VK_LValue) {
tools/clang/lib/CodeGen/CGObjC.cpp
 1216                      argVar->getType().getNonReferenceType(), VK_LValue,
 1262                      argVar->getType().getNonReferenceType(), VK_LValue,
 1435                    VK_LValue, SourceLocation());
 1445   DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue,
 1610                   Self->getType(), VK_LValue, SourceLocation());
 1797                         D->getType(), VK_LValue, SourceLocation());
 3546                     VK_LValue, OK_Ordinary, SourceLocation(), false);
 3551                     VK_LValue, OK_Ordinary, SourceLocation(), false);
 3557       VK_LValue, SourceLocation(), FPOptions());
 3630                     VK_LValue, OK_Ordinary, SourceLocation(), false);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  356                       VD->getType().getNonReferenceType(), VK_LValue,
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
   77             VD->getType().getNonReferenceType(), VK_LValue, C.getLocation());
  230                           VD->getType().getNonReferenceType(), VK_LValue,
  258                       OrigDRE->getType(), VK_LValue, OrigDRE->getExprLoc());
  794                         (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc());
  926                           (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc());
 1003                           (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc());
 1457                         VD->getInit()->getType(), VK_LValue,
 1502                       (*IC)->getType(), VK_LValue, (*IC)->getExprLoc());
 1572                         E->getType(), VK_LValue, E->getExprLoc());
 1740                         (*IPC)->getType(), VK_LValue, (*IPC)->getExprLoc());
 2630     OpaqueValueExpr IVRefExpr(S.getBeginLoc(), KmpInt32Ty, VK_LValue);
 2632     OpaqueValueExpr UBRefExpr(S.getBeginLoc(), KmpInt32Ty, VK_LValue);
 3028                         Pair.second->getType(), VK_LValue,
 3140       /*RefersToEnclosingVariableOrCapture=*/false, Loc, Ty, VK_LValue);
 3145       /*RefersToEnclosingVariableOrCapture=*/false, Loc, Ty, VK_LValue);
 3151       /*RefersToEnclosingVariableOrCapture=*/false, Loc, ElemType, VK_LValue);
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  884           *Context, PE, true, FD, FD->getType(), VK_LValue, OK_Ordinary);
 2098                                                VK_LValue, SourceLocation());
 2584       DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation());
 2672       *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation());
 2728       CallExpr::Create(*Context, NSArrayDRE, InitExprs, NSArrayFType, VK_LValue,
 2739                                  ARRFD->getType(), VK_LValue, OK_Ordinary);
 2793       *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation());
 2857       CallExpr::Create(*Context, NSDictDRE, ValueExprs, NSDictFType, VK_LValue,
 2868                                  ARRFD->getType(), VK_LValue, OK_Ordinary);
 2877       *Context, NSDictDRE, KeyExprs, NSDictFType, VK_LValue, SourceLocation());
 2881                                  ARRFD->getType(), VK_LValue, OK_Ordinary);
 2944       *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation());
 3173                                     VK_LValue, SourceLocation());
 3182       *Context, STCE, false, FieldD, FieldD->getType(), VK_LValue, OK_Ordinary);
 3272                       VK_LValue, SourceLocation());
 3274                                   VK_LValue, SourceLocation());
 3296                                                    superType, VK_LValue,
 3367                       VK_LValue, SourceLocation());
 3369                                   VK_LValue, SourceLocation());
 3510       *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation());
 3588       *Context, VD, false, getProtocolType(), VK_LValue, SourceLocation());
 4630       *Context, PE, true, FD, FD->getType(), VK_LValue, OK_Ordinary);
 4676       *Context, DeclRefExp, isArrow, FD, FD->getType(), VK_LValue, OK_Ordinary);
 4685                                   VK_LValue, OK_Ordinary);
 4704                                           VK_LValue, OK_Ordinary,
 5280       *Context, FD, false, FD->getType(), VK_LValue, SourceLocation());
 5293                                 VK_LValue, SourceLocation()),
 5308                                         VK_LValue, SourceLocation());
 5319                                         VK_LValue, SourceLocation());
 5325                                         VK_LValue, SourceLocation());
 5354                                       VK_LValue, SourceLocation());
 5386   NewRep = CallExpr::Create(*Context, DRE, InitExprs, FType, VK_LValue,
 7482                       VK_LValue, SourceLocation());
 7526               *Context, PE, true, FD, FD->getType(), VK_LValue, OK_Ordinary);
 7540                                               VK_LValue, OK_Ordinary,
 7555                                        FD->getType(), VK_LValue, OK_Ordinary);
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 2013                                                VK_LValue, SourceLocation());
 2509       DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation());
 2592                                 msgSendType, VK_LValue, SourceLocation());
 2701                       VK_LValue, SourceLocation());
 2703                                   VK_LValue, SourceLocation());
 2725                                                    superType, VK_LValue,
 2796                       VK_LValue, SourceLocation());
 2798                                   VK_LValue, SourceLocation());
 2939       *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation());
 3044       *Context, VD, false, getProtocolType(), VK_LValue, SourceLocation());
 3798       *Context, PE, true, FD, FD->getType(), VK_LValue, OK_Ordinary);
 3845                                  FD->getType(), VK_LValue, OK_Ordinary);
 3854                                   VK_LValue, OK_Ordinary);
 3873                                           VK_LValue, OK_Ordinary,
 4418       *Context, FD, false, FD->getType(), VK_LValue, SourceLocation());
 4431                                 VK_LValue, SourceLocation()),
 4446                                         VK_LValue, SourceLocation());
 4457                                         VK_LValue, SourceLocation());
 4463                                         VK_LValue, SourceLocation());
 4491                                       VK_LValue, SourceLocation());
 4522   NewRep = CallExpr::Create(*Context, DRE, InitExprs, FType, VK_LValue,
 5835             *Context, PE, true, D, D->getType(), VK_LValue, OK_Ordinary);
tools/clang/lib/Sema/Sema.cpp
 1672       new (S.Context) DeclRefExpr(S.Context, VD, false, T, VK_LValue, Loc);
tools/clang/lib/Sema/SemaCUDA.cpp
   50       DeclRefExpr(Context, ConfigDecl, false, ConfigQTy, VK_LValue, LLLLoc);
tools/clang/lib/Sema/SemaCodeComplete.cpp
 1308             if (ObjectKind != VK_LValue && !MethodQuals.hasConst())
 1312             if (ObjectKind == VK_LValue)
 4103                                     VK_LValue);
 4748         BaseKind = VK_LValue;
tools/clang/lib/Sema/SemaCoroutine.cpp
  302       S.BuildDeclRefExpr(BuiltInDecl, BuiltInDecl->getType(), VK_LValue, Loc);
  402       OpaqueValueExpr(Loc, E->getType(), VK_LValue, E->getObjectKind(), E);
  473       Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc);
  536                          ExprValueKind::VK_LValue, FD->getLocation());
  924   ExprResult DR = S.BuildDeclRefExpr(VD, VD->getType(), VK_LValue, Loc);
 1175                            ExprValueKind::VK_LValue, PDLoc);
 1253       S.BuildDeclRefExpr(OperatorNew, OperatorNew->getType(), VK_LValue, Loc);
 1272       S.BuildDeclRefExpr(OperatorDelete, OpDeleteQualType, VK_LValue, Loc);
 1480   ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc);
 1538                          ExprValueKind::VK_LValue, Loc); // FIXME: scope?
tools/clang/lib/Sema/SemaDeclCXX.cpp
  887     ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc);
 1164     ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc);
 1384     ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc);
 1388                             VK_LValue, &BasePath);
 4537                           VK_LValue, nullptr);
 4554                                             Moving ? VK_XValue : VK_LValue,
 4610                           Loc, ParamType, VK_LValue, nullptr);
11921     return assertNotNull(S.BuildDeclRefExpr(Var, VarType, VK_LValue, Loc));
12291                     VK_LValue, OK_Ordinary, Loc, Upper.isMaxValue());
12526                      VK_LValue, BasePath);
12533                    VK_LValue, BasePath);
12901                    VK_LValue, BasePath);
13328                                        VK_LValue, Conv->getLocation());
14357         new (Context) OpaqueValueExpr(Loc, initType, VK_LValue, OK_Ordinary);
tools/clang/lib/Sema/SemaExpr.cpp
 3041       valueKind = VK_LValue;
 3049         valueKind = VK_LValue; // even if the parameter is an r-value reference
 3077       valueKind = VK_LValue;
 3094       valueKind = VK_LValue;
 3128         valueKind = VK_LValue;
 3151       valueKind = VK_LValue;
 3168         valueKind = VK_LValue;
 4378                                             VK_LValue, OK_Ordinary, rbLoc);
 4393         base, idx, Context.PseudoObjectTy, VK_LValue, OK_Ordinary, rbLoc);
 4502                             VK_LValue, OK_Ordinary, ColonLoc, RBLoc);
 4608                           VK_LValue, OK_Ordinary, ColonLoc, RBLoc);
 4617   ExprValueKind VK = VK_LValue;
 6103           : VK_LValue;
 9089       if (LHS.get()->getValueKind() == VK_LValue ||
12194     VK = VK_LValue;
12572   VK = VK_LValue;
13060     VK = VK_LValue;
14370                                      CK_NoOp, VK_LValue);
17394         E->setValueKind(VK_LValue);
17676   ExprValueKind ValueKind = VK_LValue;
tools/clang/lib/Sema/SemaExprCXX.cpp
 3650       ConditionVar, ConditionVar->getType().getNonReferenceType(), VK_LValue,
 5553     VK = VK_LValue;
tools/clang/lib/Sema/SemaExprMember.cpp
  891                                            S.Context.PseudoObjectTy, VK_LValue,
 1135                            VK_LValue, OK_Ordinary);
 1145       valueKind = VK_LValue;
 1167           Var->getType().getNonReferenceType(), VK_LValue, OK_Ordinary);
 1505               ObjCPropertyRefExpr(PD, S.Context.PseudoObjectTy, VK_LValue,
 1521               ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue,
 1578             Getter, Setter, S.Context.PseudoObjectTy, VK_LValue,
 1602       VK = VK_LValue;
 1764   ExprValueKind VK = VK_LValue;
 1779     VK = VK_LValue;
tools/clang/lib/Sema/SemaExprObjC.cpp
  791       BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript,
 1848           ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue,
 1852           ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue,
 1865             PD, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty, MemberLoc,
 1869             ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue,
 1934           ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue,
 1938           ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue,
 2090           ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue,
 2095         Getter, Setter, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty,
tools/clang/lib/Sema/SemaFixItUtils.cpp
   98                                  S, Begin, VK_LValue);
tools/clang/lib/Sema/SemaInit.cpp
 3536   case VK_LValue: S.Kind = SK_CastDerivedToBaseLValue; break;
 3589   case VK_LValue:
 4595     VK = VK_LValue;
 4597     VK = RRef->getPointeeType()->isFunctionType() ? VK_LValue : VK_XValue;
 4642   VK = IsLValueRef ? VK_LValue : VK_XValue;
 4741         Sequence.AddDerivedToBaseCastStep(cv1T1, VK_LValue);
 4745         Sequence.AddQualificationConversionStep(cv1T1, VK_LValue);
 4869     ValueKind = isLValueRef ? VK_LValue : VK_XValue;
 4990     Sequence.AddQualificationConversionStep(cv1T1, isLValueRef ? VK_LValue
 7968               VK_LValue :
 8136               ? VK_LValue
tools/clang/lib/Sema/SemaLookup.cpp
 3120   ExprValueKind VK = VK_LValue;
 3170       VK = VK_LValue;
 3190                     RValueThis ? VK_RValue : VK_LValue).Classify(Context);
tools/clang/lib/Sema/SemaObjCProperty.cpp
 1415           DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue,
 1467           DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue,
 1484           DeclRefExpr(Context, Param, false, T, VK_LValue, PropertyDiagLoc);
tools/clang/lib/Sema/SemaOpenMP.cpp
 1128                              VK_LValue);
 2379                              Id.getLoc(), ExprType, VK_LValue);
11226     ExprResult Res = S.BuildDeclRefExpr(VD, AllocatorType, VK_LValue, Loc);
11995       Capture, Capture->getType().getNonReferenceType(), VK_LValue, Loc);
12003   if (VK != VK_LValue && Res.get()->isGLValue()) {
12751   OpaqueValueExpr OVE(Loc, Ty, VK_LValue);
12896                                     VK_LValue, Loc);
12916                 VD, VD->getType().getNonReferenceType(), VK_LValue, Loc);
13568                                   Type, VK_LValue, OK_Ordinary);
15193     return SemaRef.BuildDeclRefExpr(VD, Type, VK_LValue, Loc);
15212           return SemaRef.BuildDeclRefExpr(VD, Type, VK_LValue, Loc);
tools/clang/lib/Sema/SemaOverload.cpp
   66       DeclRefExpr(S.Context, Fn, false, Fn->getType(), VK_LValue, Loc, LocInfo);
 7137                             VK_LValue, From->getBeginLoc());
12748           Args[0], Args[1], Opc, Context.DependentTy, VK_LValue, OK_Ordinary,
14250         BuildDeclRefExpr(Fn, Fn->getType(), VK_LValue, ULE->getNameInfo(),
14272             Fn, Fn->getType(), VK_LValue, MemExpr->getNameInfo(),
14290       valueKind = VK_LValue;
tools/clang/lib/Sema/SemaPseudoObject.cpp
  540       syntacticOp, opcode, resultType, VK_LValue, OK_Ordinary, opcLoc,
tools/clang/lib/Sema/SemaStmt.cpp
 2408                                                 VK_LValue, ColonLoc);
 2413                                               VK_LValue, ColonLoc);
 2602                                            VK_LValue, ColonLoc);
 2607                                          VK_LValue, ColonLoc);
 2630                                 VK_LValue, ColonLoc);
 2651                                 VK_LValue, ColonLoc);
tools/clang/lib/Sema/SemaTemplate.cpp
 6427         ParamType->isLValueReferenceType() ? VK_LValue :
 6988       ExprValueKind VK = VK_LValue;
 7023     ExprResult RefExpr = BuildDeclRefExpr(VD, T, VK_LValue, Loc);
 7047     VK = VK_LValue;
 7052     VK = VK_LValue;
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1292           TargetType->isReferenceType() ? VK_LValue : VK_RValue, NTTP,
tools/clang/lib/Sema/SemaType.cpp
 8373   case VK_LValue: T = S.Context.getLValueReferenceType(T); break;
tools/clang/lib/Sema/TreeTransform.h
 3197                                                   VK_LValue, OK_ObjCProperty,
 7789                         SemaRef.getASTContext().PseudoObjectTy, VK_LValue,
12022             VD->getType()->isReferenceType() ? VK_LValue : VK_RValue,
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
   82   case VK_LValue:
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
   36 AST_MATCHER(Expr, isLValue) { return Node.getValueKind() == VK_LValue; }
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  296   bool is_lvalue = last_expr->getValueKind() == VK_LValue &&