commit | 6805fc44a1b5179f6390a160c807dfb4480d7138 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Mon Feb 23 18:36:16 2009 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Mon Feb 23 18:36:16 2009 +0000 |
tree | 6d351b295cbd0575aec6ba3148e0bbdc38f8ccc9 | |
parent | 51e57e62680fd0bb25a579dac7e5ba7c5c9d0a39 [diff] [blame] |
Revert http://llvm.org/viewvc/llvm-project?view=rev&revision=65244. Remove support for "Class<P>". Will be making this an error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65332 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index d868cba..bfba598 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp
@@ -285,8 +285,7 @@ static bool HasPointerEvalType(const Expr* E) { return E->getType()->isPointerType() || E->getType()->isBlockPointerType() - || E->getType()->isObjCQualifiedIdType() - || E->getType()->isObjCQualifiedClassType(); + || E->getType()->isObjCQualifiedIdType(); } static bool EvaluatePointer(const Expr* E, APValue& Result, EvalInfo &Info) {