Changeset 20519b7


Ignore:
Timestamp:
Jul 11, 2017, 9:28:40 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
7812f1d1
Parents:
38ac6ec
Message:

remove warning messages

Location:
src/Parser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/StatementNode.cc

    r38ac6ec r20519b7  
    1010// Created On       : Sat May 16 14:59:41 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jun 28 21:08:37 2017
    13 // Update Count     : 330
     12// Last Modified On : Tue Jul 11 21:23:15 2017
     13// Update Count     : 331
    1414//
    1515
     
    9393        std::list< Statement * > branches;
    9494        buildMoveList< Statement, StatementNode >( stmt, branches );
    95         assert( branches.size() >= 0 );                                         // size == 0 for switch (...) {}, i.e., no declaration or statements
     95        // branches.size() == 0 for switch (...) {}, i.e., no declaration or statements
    9696        return new SwitchStmt( noLabels, maybeMoveBuild< Expression >(ctl), branches );
    9797}
  • src/Parser/lex.ll

    r38ac6ec r20519b7  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Wed Jun 28 21:03:45 2017
    13  * Update Count     : 529
     12 * Last Modified On : Tue Jul 11 21:20:23 2017
     13 * Update Count     : 533
    1414 */
    1515
     
    1818
    1919%{
     20// Stop warning due to incorrectly generated flex code.
     21#pragma GCC diagnostic ignored "-Wsign-compare"
     22
    2023// This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been
    2124// performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g.,
Note: See TracChangeset for help on using the changeset viewer.