Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.h

    r1feb535f ra16764a6  
    3737
    3838constexpr const char * const WarningFormats[] = {
    39         "self assignment of expression: %s",
     39
    4040};
    4141
    4242enum class Warning {
    43         SelfAssignment,
    4443        NUMBER_OF_WARNINGS, //This MUST be the last warning
    4544};
     
    5049);
    5150
    52 #define SemanticWarning(loc, id, ...) SemanticWarningImpl(loc, id, WarningFormats[(int)id], __VA_ARGS__)
     51#define SemanticWarning(loc, id, ...) SemanticWarningImpl(loc, id, WarningFormats[id], __VA_ARGS__)
    5352
    5453void SemanticWarningImpl (CodeLocation loc, Warning warn, const char * const fmt, ...) __attribute__((format(printf, 3, 4)));
     
    7271}
    7372
     73
     74
     75
    7476// Local Variables: //
    7577// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.