summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/SetTheory.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-07-29 22:43:06 +0000
committerDavid Greene <greened@obbligato.org>2011-07-29 22:43:06 +0000
commitaf8ee2cdeeb2ed35fdf0db8f7c06254c5d333ac4 (patch)
tree44b1e44fca997d90227f276acddbc885ef01724b /llvm/utils/TableGen/SetTheory.h
parent5b442374e94a066aa0d9e8c606e612c990842a7d (diff)
downloadbcm5719-llvm-af8ee2cdeeb2ed35fdf0db8f7c06254c5d333ac4.tar.gz
bcm5719-llvm-af8ee2cdeeb2ed35fdf0db8f7c06254c5d333ac4.zip
Unconstify Inits
Remove const qualifiers from Init references, per Chris' request. llvm-svn: 136531
Diffstat (limited to 'llvm/utils/TableGen/SetTheory.h')
-rw-r--r--llvm/utils/TableGen/SetTheory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/SetTheory.h b/llvm/utils/TableGen/SetTheory.h
index f6123c7d914..6e8313be07a 100644
--- a/llvm/utils/TableGen/SetTheory.h
+++ b/llvm/utils/TableGen/SetTheory.h
@@ -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