forked from OSchip/llvm-project
Fix think-o I committed without testing, shameful.
llvm-svn: 125299
This commit is contained in:
parent
66d8483170
commit
7c2dc3667f
|
@ -2369,7 +2369,7 @@ Sema::BuildDeclarationNameExpr(const CXXScopeSpec &SS,
|
|||
// variable is within the block, create a normal DeclRefExpr.
|
||||
|
||||
QualType type = VD->getType();
|
||||
ExprValueKind valueKind = 0;
|
||||
ExprValueKind valueKind = VK_RValue;
|
||||
|
||||
switch (D->getKind()) {
|
||||
// Ignore all the non-ValueDecl kinds.
|
||||
|
|
Loading…
Reference in New Issue