aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitd568b3f55294917d1cc701da14a8a7daeb6563e6 (patch)
tree44a2842bc0b635140d86fc4c7896e4ca1e2a6d87 /utils/TableGen/SetTheory.h
parentd1c2bd8e6e37e08393f7c4980efc5bcb66b6f0d0 (diff)
downloadexternal_llvm-d568b3f55294917d1cc701da14a8a7daeb6563e6.zip
external_llvm-d568b3f55294917d1cc701da14a8a7daeb6563e6.tar.gz
external_llvm-d568b3f55294917d1cc701da14a8a7daeb6563e6.tar.bz2
Revert r134921, 134917, 134908 and 134907. They're causing failures
in multiple buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/SetTheory.h')
-rw-r--r--utils/TableGen/SetTheory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/SetTheory.h b/utils/TableGen/SetTheory.h
index f6123c7..e37a76e 100644
--- a/utils/TableGen/SetTheory.h
+++ b/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>