Ignore:
Timestamp:
Jun 24, 2015, 4:04:19 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
94e0864d
Parents:
a1d5d2a
Message:

fix computed goto, fixed -std=, implicit typedefs for enum and aggregates, add _Noreturn _Thread_local

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    ra1d5d2a rde62360d  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jun 12 23:55:26 2015
    13 // Update Count     : 24
     12// Last Modified On : Sat Jun 13 09:10:31 2015
     13// Update Count     : 25
    1414//
    1515
     
    101101        typedef DeclarationWithType Parent;
    102102  public:
    103         FunctionDecl( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Type linkage, FunctionType *type, CompoundStmt *statements, bool isInline );
     103        FunctionDecl( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Type linkage, FunctionType *type, CompoundStmt *statements, bool isInline, bool isNoreturn );
    104104        FunctionDecl( const FunctionDecl &other );
    105105        virtual ~FunctionDecl();
     
    113113        void set_statements( CompoundStmt *newValue ) { statements = newValue; }
    114114        bool get_isInline() const { return isInline; }
    115 //      void set_isInline( bool newValue ) { isInline = newValue; }
     115        bool get_isNoreturn() const { return isNoreturn; }
    116116        std::list< std::string >& get_oldIdents() { return oldIdents; }
    117117        std::list< Declaration* >& get_oldDecls() { return oldDecls; }
     
    125125        FunctionType *type;
    126126        CompoundStmt *statements;
    127         bool isInline;
     127        bool isInline, isNoreturn;
    128128        std::list< std::string > oldIdents;
    129129        std::list< Declaration* > oldDecls;
Note: See TracChangeset for help on using the changeset viewer.