Ignore:
Timestamp:
Oct 2, 2018, 10:46:20 AM (10 months ago)
Author:
cameron
Message:

RE Transformation names and printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/exclude_CC.cpp

    r6161 r6170  
    1919#include <re/re_intersect.h>
    2020#include <re/re_assertion.h>
    21 #include <re/re_utility.h>
     21#include <re/re_toolchain.h>
    2222#include <llvm/Support/Casting.h>
    2323#include <llvm/Support/ErrorHandling.h>
     
    2929class CC_Remover : public RE_Transformer {
    3030public:
    31     CC_Remover(CC * toExclude) : RE_Transformer(), mExcludedCC(toExclude) {}
     31    CC_Remover(CC * toExclude) : RE_Transformer("Exclude"), mExcludedCC(toExclude) {}
    3232    RE * transformCC (CC * cc) override;
    3333    RE * transformName (Name * name) override;
     
    6262   
    6363RE * exclude_CC(RE * re, CC * cc) {
    64     return CC_Remover(cc).transform(re);
     64    return CC_Remover(cc).transformRE(re);
    6565}
    6666}
Note: See TracChangeset for help on using the changeset viewer.