Changeset 099e202
- Timestamp:
- May 16, 2018, 1:32:01 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- c1ec14f
- Parents:
- bd6e226 (diff), e9a7e90b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
rbd6e226 r099e202 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 26 13:45:10201813 // Update Count : 10 6412 // Last Modified On : Wed May 16 09:37:17 2018 13 // Update Count : 1070 14 14 // 15 15 … … 529 529 530 530 DeclarationNode * DeclarationNode::addQualifiers( DeclarationNode * q ) { 531 if ( ! q ) { delete q; return this; }// empty qualifier531 if ( ! q ) { return this; } // empty qualifier 532 532 533 533 checkSpecifiers( q ); … … 563 563 564 564 checkQualifiers( type, q->type ); 565 if ( (builtin == Zero || builtin == One) && error.length() == 0 ) {565 if ( (builtin == Zero || builtin == One) && q->type->qualifiers.val != 0 && error.length() == 0 ) { 566 566 SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, Type::QualifiersNames[ilog2( q->type->qualifiers.val )], builtinTypeNames[builtin] ); 567 // appendError( error, string( "questionable qualifiers" ) );568 567 } // if 569 568 addQualifiersToType( q->type, type ); -
src/driver/cfa.cc
rbd6e226 r099e202 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 14 07:52:50201813 // Update Count : 24 312 // Last Modified On : Mon May 14 14:16:33 2018 13 // Update Count : 244 14 14 // 15 15 … … 395 395 args[nargs] = "-Wno-deprecated"; 396 396 nargs += 1; 397 if ( ! std_flag ) { // default c 99, if none specified398 args[nargs] = "-std=gnu 99";397 if ( ! std_flag ) { // default c11, if none specified 398 args[nargs] = "-std=gnu11"; 399 399 nargs += 1; 400 400 } // if -
src/libcfa/stdlib
rbd6e226 r099e202 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun May 13 23:22:23201813 // Update Count : 29912 // Last Modified On : Wed May 16 07:53:10 2018 13 // Update Count : 300 14 14 // 15 15 16 16 #pragma once 17 17 18 #define __USE_ISOC11 // aligned_alloc19 18 #include <stdlib.h> // strto*, *abs 20 19
Note: See TracChangeset
for help on using the changeset viewer.