[llvm-commits] [llvm] r134907 - /llvm/trunk/utils/TableGen/
David A. Greene
greened at obbligato.org
Wed Jul 13 09:08:22 PDT 2011
greened at obbligato.org (David A. Greene) writes:
> Constifying Init requires that I get rid of non-const methods. These
> are methods like BitsInit::setBit() that modify already-existing
> objects. Once those are gone, various pieces of code that create Inits
> by cloning an existing Init and modifying it need to be updated to avoid
> the modification.
Ok, I think I've figured out a way to break this up a bit. I can make
Inits "almost" const everywhere and then send the trickier bits after
that.
-Dave
More information about the llvm-commits
mailing list