diff options
author | David Greene <greened@obbligato.org> | 2011-07-29 22:43:06 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2011-07-29 22:43:06 +0000 |
commit | 05bce0beee87512e52428d4b80f5a8e79a949576 (patch) | |
tree | be45c8abd8623ae055d6827e3054ad7411811663 /utils/TableGen/SetTheory.h | |
parent | c8f34de5d615b858319f33d4e19c24622d971416 (diff) | |
download | llvm-05bce0beee87512e52428d4b80f5a8e79a949576.tar.gz llvm-05bce0beee87512e52428d4b80f5a8e79a949576.tar.bz2 llvm-05bce0beee87512e52428d4b80f5a8e79a949576.tar.xz |
Unconstify Inits
Remove const qualifiers from Init references, per Chris' request.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/SetTheory.h')
-rw-r--r-- | utils/TableGen/SetTheory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/SetTheory.h b/utils/TableGen/SetTheory.h index f6123c7d91..6e8313be07 100644 --- a/utils/TableGen/SetTheory.h +++ b/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> |