Provide half floating point support as a storage only type.
Lack of half FP was a regression compared to llvm-gcc. llvm-svn: 142016
This commit is contained in:
@@ -257,6 +257,7 @@ bool Declarator::isDeclarationOfFunction() const {
|
||||
case TST_enum:
|
||||
case TST_error:
|
||||
case TST_float:
|
||||
case TST_half:
|
||||
case TST_int:
|
||||
case TST_struct:
|
||||
case TST_union:
|
||||
@@ -373,6 +374,7 @@ const char *DeclSpec::getSpecifierName(DeclSpec::TST T) {
|
||||
case DeclSpec::TST_char16: return "char16_t";
|
||||
case DeclSpec::TST_char32: return "char32_t";
|
||||
case DeclSpec::TST_int: return "int";
|
||||
case DeclSpec::TST_half: return "half";
|
||||
case DeclSpec::TST_float: return "float";
|
||||
case DeclSpec::TST_double: return "double";
|
||||
case DeclSpec::TST_bool: return "_Bool";
|
||||
|
||||
Reference in New Issue
Block a user