diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-04-23 10:47:20 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-04-23 10:47:20 +0000 |
commit | 4e61ddd644e9c6293697a966d98d7c1905cf63a8 (patch) | |
tree | 270b734efef8b2fd93171558b75f21765ee90c41 /lib/Parse/ParseExpr.cpp | |
parent | 1cfe3c305c0d5393fd94167808b8f5d96cd65227 (diff) |
Sort the type traits in a few places where they weren't previously
sorted in order to prepare for adding some new ones.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index cf852f82e5..1a3290a43d 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -983,14 +983,14 @@ ExprResult Parser::ParseCastExpression(bool isUnaryExpression, return move(Result); } - case tok::kw___is_pod: // [GNU] unary-type-trait + case tok::kw___is_abstract: // [GNU] unary-type-trait case tok::kw___is_class: - case tok::kw___is_enum: - case tok::kw___is_union: case tok::kw___is_empty: - case tok::kw___is_polymorphic: - case tok::kw___is_abstract: + case tok::kw___is_enum: case tok::kw___is_literal: + case tok::kw___is_pod: + case tok::kw___is_polymorphic: + case tok::kw___is_union: case tok::kw___has_trivial_constructor: case tok::kw___has_trivial_copy: case tok::kw___has_trivial_assign: |