aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-02-23 18:36:16 +0000
committerSteve Naroff <snaroff@apple.com>2009-02-23 18:36:16 +0000
commitd461777e23204fe8c480302d8ff76f5847605da6 (patch)
tree6d351b295cbd0575aec6ba3148e0bbdc38f8ccc9 /lib/AST/ExprConstant.cpp
parent01011d4e4d6d5146f58233a508509757382d62c3 (diff)
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
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r--lib/AST/ExprConstant.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index d868cba9eb..bfba5984b0 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -285,8 +285,7 @@ public:
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) {