diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-04-24 02:49:28 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-04-24 02:49:28 +0000 |
commit | 65fa1fd18e075afda097927f7b8e0949a3650b03 (patch) | |
tree | 976d81efe9b18cd7b95af5d34615f44647f8fbd9 /clang/lib/Parse/ParseExpr.cpp | |
parent | ad7d4047322c2b7fa7177e22f3fb6fd578d148b2 (diff) | |
download | bcm5719-llvm-65fa1fd18e075afda097927f7b8e0949a3650b03.tar.gz bcm5719-llvm-65fa1fd18e075afda097927f7b8e0949a3650b03.zip |
Add support for '__is_literal_type' spelling of the existing
'__is_literal' type trait for GCC compatibility. At least one relased
version if libstdc++ uses this name for the trait despite it not being
documented anywhere.
llvm-svn: 130078
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r-- | clang/lib/Parse/ParseExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp index d218c797360..0ad153fc572 100644 --- a/clang/lib/Parse/ParseExpr.cpp +++ b/clang/lib/Parse/ParseExpr.cpp @@ -989,6 +989,7 @@ ExprResult Parser::ParseCastExpression(bool isUnaryExpression, case tok::kw___is_empty: case tok::kw___is_enum: case tok::kw___is_literal: + case tok::kw___is_literal_type: case tok::kw___is_pod: case tok::kw___is_polymorphic: case tok::kw___is_trivial: |