diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-09-08 10:20:52 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2017-09-08 10:20:52 +0000 |
commit | 9aeedde7ffd971f533360ab02e3c8ac58fba7209 (patch) | |
tree | 3fe7ce50686fe583ff4e2a9137c4bb48579631e9 /clang/lib/Parse/ParseDecl.cpp | |
parent | d7b0f74c648204a224295708d253637bf3687075 (diff) | |
download | bcm5719-llvm-9aeedde7ffd971f533360ab02e3c8ac58fba7209.tar.gz bcm5719-llvm-9aeedde7ffd971f533360ab02e3c8ac58fba7209.zip |
Revert "Add _Float16 as a C/C++ source language type"
The clang-with-lto-ubuntu bot didn't like the new regression
test, revert while I investigate the issue.
llvm-svn: 312784
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 9ec78558d1a..b20b0db7d30 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -3510,10 +3510,6 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS, isInvalid = DS.SetTypeSpecType(DeclSpec::TST_double, Loc, PrevSpec, DiagID, Policy); break; - case tok::kw__Float16: - isInvalid = DS.SetTypeSpecType(DeclSpec::TST_float16, Loc, PrevSpec, - DiagID, Policy); - break; case tok::kw___float128: isInvalid = DS.SetTypeSpecType(DeclSpec::TST_float128, Loc, PrevSpec, DiagID, Policy); @@ -4517,7 +4513,6 @@ bool Parser::isKnownToBeTypeSpecifier(const Token &Tok) const { case tok::kw_half: case tok::kw_float: case tok::kw_double: - case tok::kw__Float16: case tok::kw___float128: case tok::kw_bool: case tok::kw__Bool: @@ -4593,7 +4588,6 @@ bool Parser::isTypeSpecifierQualifier() { case tok::kw_half: case tok::kw_float: case tok::kw_double: - case tok::kw__Float16: case tok::kw___float128: case tok::kw_bool: case tok::kw__Bool: @@ -4750,7 +4744,6 @@ bool Parser::isDeclarationSpecifier(bool DisambiguatingWithExpression) { case tok::kw_half: case tok::kw_float: case tok::kw_double: - case tok::kw__Float16: case tok::kw___float128: case tok::kw_bool: case tok::kw__Bool: |