diff options
Diffstat (limited to 'lib/AST/ExprClassification.cpp')
-rw-r--r-- | lib/AST/ExprClassification.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/AST/ExprClassification.cpp b/lib/AST/ExprClassification.cpp index 60fbfd298f..4677910798 100644 --- a/lib/AST/ExprClassification.cpp +++ b/lib/AST/ExprClassification.cpp @@ -292,9 +292,7 @@ static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E) { } case Expr::CXXUuidofExprClass: - // Assume that Microsoft's __uuidof returns an lvalue, like typeid does. - // FIXME: Is this really the case? - return Cl::CL_LValue; + return Cl::CL_PRValue; } llvm_unreachable("unhandled expression kind in classification"); |