Changeset fc276f3 for src


Ignore:
Timestamp:
Dec 4, 2024, 10:18:27 PM (2 weeks ago)
Author:
JiadaL <j82liang@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.hpp

    reae8b37 rfc276f3  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Dec 14 13:48:07 2023
    13 // Update Count     : 72
     12// Last Modified On : Mon Dec  2 15:14:13 2024
     13// Update Count     : 75
    1414//
    1515
     
    6060        {"self-assign"              , Severity::Warn, "self assignment of expression: %s"                          },
    6161        {"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"              },
    6362        {"aggregate-forward-decl"   , Severity::Warn, "forward declaration of nested aggregate: %s"                },
    6463        {"superfluous-decl"         , Severity::Warn, "declaration does not allocate storage: %s"                  },
     
    7271        SelfAssignment,
    7372        RvalueToReferenceConversion,
    74         BadQualifiersZeroOne,
    7573        AggrForwardDecl,
    7674        SuperfluousDecl,
  • src/Parser/DeclarationNode.cpp

    reae8b37 rfc276f3  
    1010// Created On       : Sat May 16 12:34:05 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Aug 22 14:11:47 2024
    13 // Update Count     : 1555
     12// Last Modified On : Mon Dec  2 15:04:12 2024
     13// Update Count     : 1558
    1414//
    1515
     
    455455
    456456        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         } // if
    461457        type = ::addQualifiers( type, q->type );
    462458        q->type = nullptr;
Note: See TracChangeset for help on using the changeset viewer.