summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-25 10:28:54 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-25 10:28:54 +0000
commit2536c6da0ec4db6506f93f5f7d65ac1c17348c77 (patch)
tree29819bf87dc6ae5874e44ce9962f04c94bc6f220 /clang/lib/Sema/SemaDecl.cpp
parentb50a088122875184c3dfc96337e631e2e854d2f7 (diff)
downloadbcm5719-llvm-2536c6da0ec4db6506f93f5f7d65ac1c17348c77.tar.gz
bcm5719-llvm-2536c6da0ec4db6506f93f5f7d65ac1c17348c77.zip
More incremental progress towards not including Expr.h in Sema.h.
llvm-svn: 112044
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 659c0d1a92b..9b6680f312d 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -7085,7 +7085,7 @@ void Sema::ActOnEnumBody(SourceLocation EnumLoc, SourceLocation LBraceLoc,
CastExpr::CK_IntegralCast,
ECD->getInitExpr(),
/*base paths*/ 0,
- ImplicitCastExpr::RValue));
+ VK_RValue));
if (getLangOptions().CPlusPlus)
// C++ [dcl.enum]p4: Following the closing brace of an
// enum-specifier, each enumerator has the type of its
OpenPOWER on IntegriCloud