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/Mutate.cc

    r01aeade ra08ba92  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // XXX.cc --
     7// Mutate.cc --
    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:32:52 2015
     13// Update Count     : 2
    1414//
     15
    1516#include <algorithm>
    1617#include <iostream>
     
    3435
    3536namespace ControlStruct {
    36     void mutate( std::list< Declaration * > translationUnit ) {
    37         // ForExprMutator formut;
    38         LabelFixer lfix;
    39         ChooseMutator chmut;
    40         CaseRangeMutator ranges;  // has to run after ChooseMutator
    41         //ExceptMutator exc;
    42         // LabelTypeChecker lbl;
     37        void mutate( std::list< Declaration * > translationUnit ) {
     38                // ForExprMutator formut;
     39                LabelFixer lfix;
     40                ChooseMutator chmut;
     41                CaseRangeMutator ranges;  // has to run after ChooseMutator
     42                //ExceptMutator exc;
     43                // LabelTypeChecker lbl;
    4344
    44         // mutateAll( translationUnit, formut );
    45         acceptAll( translationUnit, lfix );
    46         mutateAll( translationUnit, chmut );
    47         mutateAll( translationUnit, ranges );
    48         //mutateAll( translationUnit, exc );
    49         //acceptAll( translationUnit, lbl );
    50     }
     45                // mutateAll( translationUnit, formut );
     46                acceptAll( translationUnit, lfix );
     47                mutateAll( translationUnit, chmut );
     48                mutateAll( translationUnit, ranges );
     49                //mutateAll( translationUnit, exc );
     50                //acceptAll( translationUnit, lbl );
     51        }
    5152} // namespace CodeGen
     53
    5254// Local Variables: //
    5355// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.