Changeset e15853c for src/Parser/TypeData.cc
- Timestamp:
- Feb 14, 2019, 10:26:59 AM (5 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 70a3e16, 85d44c6
- Parents:
- e782290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cc
re782290 re15853c 10 10 // Created On : Sat May 16 15:12:51 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:36:26201913 // Update Count : 64 512 // Last Modified On : Wed Feb 13 18:16:23 2019 13 // Update Count : 649 14 14 // 15 15 … … 629 629 } // if 630 630 631 ret = BasicType:: _Bool;631 ret = BasicType::Bool; 632 632 break; 633 633 … … 668 668 case DeclarationNode::Double: 669 669 case DeclarationNode::LongDouble: // not set until below 670 case DeclarationNode:: Float80:671 case DeclarationNode:: Float128:672 case DeclarationNode:: _Float16:673 case DeclarationNode:: _Float32:674 case DeclarationNode:: _Float32x:675 case DeclarationNode:: _Float64:676 case DeclarationNode:: _Float64x:677 case DeclarationNode:: _Float128:678 case DeclarationNode:: _Float128x:670 case DeclarationNode::uuFloat80: 671 case DeclarationNode::uuFloat128: 672 case DeclarationNode::uFloat16: 673 case DeclarationNode::uFloat32: 674 case DeclarationNode::uFloat32x: 675 case DeclarationNode::uFloat64: 676 case DeclarationNode::uFloat64x: 677 case DeclarationNode::uFloat128: 678 case DeclarationNode::uFloat128x: 679 679 static BasicType::Kind floattype[2][12] = { 680 { BasicType::FloatComplex, BasicType::DoubleComplex, BasicType::LongDoubleComplex, (BasicType::Kind)-1, (BasicType::Kind)-1, BasicType:: _Float16Complex, BasicType::_Float32Complex, BasicType::_Float32xComplex, BasicType::_Float64Complex, BasicType::_Float64xComplex, BasicType::_Float128Complex, BasicType::_Float128xComplex, },681 { BasicType::Float, BasicType::Double, BasicType::LongDouble, BasicType:: __float80, BasicType::__float128, BasicType::_Float16, BasicType::_Float32, BasicType::_Float32x, BasicType::_Float64, BasicType::_Float64x, BasicType::_Float128, BasicType::_Float128x, },680 { BasicType::FloatComplex, BasicType::DoubleComplex, BasicType::LongDoubleComplex, (BasicType::Kind)-1, (BasicType::Kind)-1, BasicType::uFloat16Complex, BasicType::uFloat32Complex, BasicType::uFloat32xComplex, BasicType::uFloat64Complex, BasicType::uFloat64xComplex, BasicType::uFloat128Complex, BasicType::uFloat128xComplex, }, 681 { BasicType::Float, BasicType::Double, BasicType::LongDouble, BasicType::uuFloat80, BasicType::uuFloat128, BasicType::uFloat16, BasicType::uFloat32, BasicType::uFloat32x, BasicType::uFloat64, BasicType::uFloat64x, BasicType::uFloat128, BasicType::uFloat128x, }, 682 682 }; 683 683 … … 695 695 genTSError( DeclarationNode::complexTypeNames[ td->complextype ], td->basictype ); 696 696 } // if 697 if ( (td->basictype == DeclarationNode:: Float80 || td->basictype == DeclarationNode::Float128) && td->complextype == DeclarationNode::Complex ) { // gcc unsupported697 if ( (td->basictype == DeclarationNode::uuFloat80 || td->basictype == DeclarationNode::uuFloat128) && td->complextype == DeclarationNode::Complex ) { // gcc unsupported 698 698 genTSError( DeclarationNode::complexTypeNames[ td->complextype ], td->basictype ); 699 699 } // if
Note: See TracChangeset
for help on using the changeset viewer.