Changes in src/Parser/DeclarationNode.cc [9dc31c10:f14d956]
- File:
-
- 1 edited
-
src/Parser/DeclarationNode.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r9dc31c10 rf14d956 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Apr 19 15:09:29201813 // Update Count : 106 212 // Last Modified On : Fri Apr 20 22:37:20 2018 13 // Update Count : 1063 14 14 // 15 15 … … 562 562 checkQualifiers( type, q->type ); 563 563 if ( (builtin == Zero || builtin == One) && error.length() == 0 ) { 564 SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, Type::QualifiersNames[ log2( q->type->qualifiers.val )], builtinTypeNames[builtin] );564 SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, Type::QualifiersNames[ilog2( q->type->qualifiers.val )], builtinTypeNames[builtin] ); 565 565 // appendError( error, string( "questionable qualifiers" ) ); 566 566 } // if … … 928 928 delete newType->aggInst.aggregate->enumeration.constants; 929 929 newType->aggInst.aggregate->enumeration.constants = nullptr; 930 newType->aggInst.aggregate->enumeration.body = false; 930 931 } else { 931 932 assert( newType->aggInst.aggregate->kind == TypeData::Aggregate ); 932 933 delete newType->aggInst.aggregate->aggregate.fields; 933 934 newType->aggInst.aggregate->aggregate.fields = nullptr; 935 newType->aggInst.aggregate->aggregate.body = false; 934 936 } // if 935 937 // don't hoist twice
Note:
See TracChangeset
for help on using the changeset viewer.