Ignore:
Timestamp:
May 19, 2015, 4:58:14 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:
843054c2
Parents:
01aeade
Message:

licencing: sixth groups of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/ControlStruct/CaseRangeMutator.h

    r01aeade ra08ba92  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // XXX.cc --
     7// CaseRangeMutator.h --
    88//
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By :
    12 // Last Modified On :
    13 // Update Count     : 0
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue May 19 15:22:51 2015
     13// Update Count     : 3
    1414//
     15
    1516#ifndef CASERNG_MUTATOR_H
    1617#define CASERNG_MUTATOR_H
     
    2122
    2223namespace ControlStruct {
    23     class CaseRangeMutator : public Mutator {
    24       public:
    25         CaseRangeMutator() {}
     24        class CaseRangeMutator : public Mutator {
     25          public:
     26                CaseRangeMutator() {}
    2627
    27         virtual Statement *mutate( ChooseStmt * );
    28         virtual Statement *mutate( SwitchStmt * );
    29         virtual Statement *mutate( FallthruStmt * );
    30         virtual Statement *mutate( CaseStmt * );
    31       private:
    32         void fillRange( Expression *lo, Expression *hi );
     28                virtual Statement *mutate( ChooseStmt * );
     29                virtual Statement *mutate( SwitchStmt * );
     30                virtual Statement *mutate( FallthruStmt * );
     31                virtual Statement *mutate( CaseStmt * );
     32          private:
     33                void fillRange( Expression *lo, Expression *hi );
    3334
    34         Expression *currentCondition;
    35         std::list< Expression * > newCaseLabels;
    36     };
    37 
     35                Expression *currentCondition;
     36                std::list< Expression * > newCaseLabels;
     37        };
    3838} // namespace ControlStruct
    3939
    4040#endif // CASERNG_MUTATOR_H
    4141
    42 /*
    43   Local Variables:
    44   mode: c++
    45   End:
    46 */
    4742// Local Variables: //
    4843// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.