summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/SetTheory.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-11 23:06:52 +0000
committerEric Christopher <echristo@apple.com>2011-07-11 23:06:52 +0000
commit71520a867d5c3d34762cef78c10fe5b54324537e (patch)
tree5bdecbda90b566debd139bbdbcb1ac9ff29c7092 /llvm/utils/TableGen/SetTheory.h
parent571419bae6765653c47967ba5462c6e06571a49c (diff)
downloadbcm5719-llvm-71520a867d5c3d34762cef78c10fe5b54324537e.tar.gz
bcm5719-llvm-71520a867d5c3d34762cef78c10fe5b54324537e.zip
Revert r134921, 134917, 134908 and 134907. They're causing failures
in multiple buildbots. llvm-svn: 134936
Diffstat (limited to 'llvm/utils/TableGen/SetTheory.h')
-rw-r--r--llvm/utils/TableGen/SetTheory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/SetTheory.h b/llvm/utils/TableGen/SetTheory.h
index f6123c7d914..e37a76ee68c 100644
--- a/llvm/utils/TableGen/SetTheory.h
+++ b/llvm/utils/TableGen/SetTheory.h
@@ -55,7 +55,7 @@
namespace llvm {
class DagInit;
-class Init;
+struct Init;
class Record;
class RecordKeeper;
@@ -70,7 +70,7 @@ public:
/// apply - Apply this operator to Expr's arguments and insert the result
/// in Elts.
- virtual void apply(SetTheory&, const DagInit *Expr, RecSet &Elts) =0;
+ virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts) =0;
};
/// Expander - A callback function that can transform a Record representing a
@@ -115,7 +115,7 @@ public:
void addOperator(StringRef Name, Operator*);
/// evaluate - Evaluate Expr and append the resulting set to Elts.
- void evaluate(const Init *Expr, RecSet &Elts);
+ void evaluate(Init *Expr, RecSet &Elts);
/// evaluate - Evaluate a sequence of Inits and append to Elts.
template<typename Iter>
OpenPOWER on IntegriCloud