- Timestamp:
- Dec 4, 2024, 10:18:27 PM (2 weeks ago)
- Branches:
- master
- Children:
- b38d24a
- Parents:
- eae8b37 (diff), 4175659 (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:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/SemanticError.hpp
reae8b37 rfc276f3 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Dec 14 13:48:07 202313 // Update Count : 7 212 // Last Modified On : Mon Dec 2 15:14:13 2024 13 // Update Count : 75 14 14 // 15 15 … … 60 60 {"self-assign" , Severity::Warn, "self assignment of expression: %s" }, 61 61 {"reference-conversion" , Severity::Warn, "rvalue to reference conversion of rvalue: %s" }, 62 {"qualifiers-zero_t-one_t" , Severity::Warn, "questionable use of type qualifier(s) with %s" },63 62 {"aggregate-forward-decl" , Severity::Warn, "forward declaration of nested aggregate: %s" }, 64 63 {"superfluous-decl" , Severity::Warn, "declaration does not allocate storage: %s" }, … … 72 71 SelfAssignment, 73 72 RvalueToReferenceConversion, 74 BadQualifiersZeroOne,75 73 AggrForwardDecl, 76 74 SuperfluousDecl, -
src/Parser/DeclarationNode.cpp
reae8b37 rfc276f3 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Aug 22 14:11:47202413 // Update Count : 155 512 // Last Modified On : Mon Dec 2 15:04:12 2024 13 // Update Count : 1558 14 14 // 15 15 … … 455 455 456 456 checkQualifiers( type, q->type ); 457 TypeData::BuiltinType const builtin = type->builtintype;458 if ( (builtin == TypeData::Zero || builtin == TypeData::One) && q->type->qualifiers.any() && error.length() == 0 ) {459 SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, TypeData::builtinTypeNames[builtin] );460 } // if461 457 type = ::addQualifiers( type, q->type ); 462 458 q->type = nullptr;
Note: See TracChangeset
for help on using the changeset viewer.