diff options
author | Anders Carlsson <andersca@mac.com> | 2009-03-22 01:52:17 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-03-22 01:52:17 +0000 |
commit | 67e4dd2e9936d828d68b20e01922b6442c6ce31b (patch) | |
tree | 579ceaced967bc6c45475ada5c44dbbca5febeb2 /lib/Parse/ParseExpr.cpp | |
parent | 3403084886b3d0fc23eee2b5708f0ac0329423e0 (diff) |
Keep track of whether a class is abstract or not. This is currently only used for the __is_abstract type trait.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index f2892c1367..b140046fe4 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -768,6 +768,7 @@ Parser::OwningExprResult Parser::ParseCastExpression(bool isUnaryExpression, case tok::kw___is_enum: case tok::kw___is_union: case tok::kw___is_polymorphic: + case tok::kw___is_abstract: return ParseUnaryTypeTrait(); case tok::at: { |