Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks fine. Seems like Update doesn't need to grab the bool type on every pass, but I don't think that matters IRL. Thanks for adding this.
source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp | ||
---|---|---|
62 ↗ | (On Diff #122685) | Does this need to be done every time you Update? Couldn't you do this in the constructor instead? This is probably pretty cheap call, so it doesn't matter much, but it seems odd. |
source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp | ||
---|---|---|
62 ↗ | (On Diff #122685) | The other pretty printers were doing all of their initialization in the Update function, but I don't see a reason why this couldn't be done in the constructor. In that case, I can probably do the byte order and pointer size computation there as well. |