Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.cc

    r2d019af r312029a  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Mar 12 18:35:39 2021
    13 // Update Count     : 37
     12// Last Modified On : Wed Dec 11 16:39:56 2019
     13// Update Count     : 36
    1414//
    1515
     
    6666
    6767
    68 DirectiveDecl::DirectiveDecl( DirectiveStmt *stmt ) : Declaration( "", Type::StorageClasses(), LinkageSpec::C ), stmt( stmt ) {
    69 }
    70 
    71 DirectiveDecl::DirectiveDecl( const DirectiveDecl &other ) : Declaration( other ), stmt( maybeClone( other.stmt ) ) {
    72 }
    73 
    74 DirectiveDecl::~DirectiveDecl() {
    75         delete stmt;
    76 }
    77 
    78 void DirectiveDecl::print( std::ostream &os, Indenter indent ) const {
    79         stmt->print( os, indent );
    80 }
    81 
    82 void DirectiveDecl::printShort( std::ostream &os, Indenter indent ) const {
    83         stmt->print( os, indent );
    84 }
    85 
    86 
    8768StaticAssertDecl::StaticAssertDecl( Expression * condition, ConstantExpr * message ) : Declaration( "", Type::StorageClasses(), LinkageSpec::C ), condition( condition ), message( message )  {
    8869}
Note: See TracChangeset for help on using the changeset viewer.