Ignore:
Timestamp:
May 2, 2019, 1:57:05 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
62ce290
Parents:
3e96559
Message:

Reduced cases where unused is placed on anonymous objects. Regenerated tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    r3e96559 r76f7fc7  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed May  1 07:46:49 2019
    13 // Update Count     : 134
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Thr May  2 10:47:00 2019
     13// Update Count     : 135
    1414//
    1515
     
    167167        CompoundStmt *get_statements() const { return statements; }
    168168        void set_statements( CompoundStmt *newValue ) { statements = newValue; }
     169        bool has_body() const { return NULL != statements; }
    169170
    170171        static FunctionDecl * newFunction( const std::string & name, FunctionType * type, CompoundStmt * statements );
Note: See TracChangeset for help on using the changeset viewer.