Changeset fd2debf for src/Common


Ignore:
Timestamp:
Jul 30, 2018, 4:43:48 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
05e6eb5
Parents:
7f38b67a
git-author:
Rob Schluntz <rschlunt@…> (07/30/18 11:23:08)
git-committer:
Rob Schluntz <rschlunt@…> (07/30/18 16:43:48)
Message:

Add checks for constructor/destructor attribute arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/SemanticError.h

    r7f38b67a rfd2debf  
    5858        {"aggregate-forward-decl" , "forward declaration of nested aggregate: %s"  , Severity::Warn},
    5959        {"superfluous-decl"       , "declaration does not allocate storage: %s"    , Severity::Warn},
     60        {"gcc-attributes"         , "invalid attribute: %s"                        , Severity::Warn},
    6061};
    6162
     
    6667        AggrForwardDecl,
    6768        SuperfluousDecl,
     69        GccAttributes,
    6870        NUMBER_OF_WARNINGS, // This MUST be the last warning
    6971};
Note: See TracChangeset for help on using the changeset viewer.