Ignore:
Timestamp:
Dec 15, 2024, 10:07:29 PM (2 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
a16f2b6
Parents:
d30c229
Message:

update semantic warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.hpp

    rd30c229 r5786403  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Dec  2 15:14:13 2024
    13 // Update Count     : 75
     12// Last Modified On : Sun Dec 15 21:04:32 2024
     13// Update Count     : 77
    1414//
    1515
     
    5858
    5959constexpr WarningData WarningFormats[] = {
    60         {"self-assign"              , Severity::Warn, "self assignment of expression: %s"                          },
    61         {"reference-conversion"     , Severity::Warn, "rvalue to reference conversion of rvalue: %s"              },
    62         {"aggregate-forward-decl"   , Severity::Warn, "forward declaration of nested aggregate: %s"                },
    63         {"superfluous-decl"         , Severity::Warn, "declaration does not allocate storage: %s"                  },
    64         {"superfluous-else"         , Severity::Warn, "else clause never executed for empty loop conditional"      },
    65         {"gcc-attributes"           , Severity::Warn, "invalid attribute: %s"                                      },
    66         {"c++-like-copy"            , Severity::Warn, "Constructor from reference is not a valid copy constructor" },
    67         {"depreciated-trait-syntax" , Severity::Warn, "trait type-parameters are now specified using the forall clause" },
     60        {"self-assign"              , Severity::Warn, "self assignment of expression: %s." },
     61        {"reference-conversion"     , Severity::Warn, "rvalue to reference conversion of rvalue: %s." },
     62        {"aggregate-forward-decl"   , Severity::Warn, "forward declaration of nested aggregate: %s." },
     63        {"superfluous-decl"         , Severity::Warn, "declaration does not declare anything." },
     64        {"superfluous-else"         , Severity::Warn, "else clause never executed for empty loop conditional." },
     65        {"gcc-attributes"           , Severity::Warn, "invalid attribute: %s." },
     66        {"c++-like-copy"            , Severity::Warn, "Constructor from reference is not a valid copy constructor." },
     67        {"depreciated-trait-syntax" , Severity::Warn, "trait type-parameters are now specified using the forall clause." },
    6868};
    6969
Note: See TracChangeset for help on using the changeset viewer.