[PATCH] D139229: Use CTAD on llvm::SaveAndRestore
Kazu Hirata via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 2 14:07:38 PST 2022
kazu added a comment.
In D139229#3967666 <https://reviews.llvm.org/D139229#3967666>, @jansvoboda11 wrote:
> Sorry for the noise, didn't realize this will trigger Herald rules. Wanted to check with @kazu if this looks fine in principle and if it should be split up into multiple commits (e.g. per project).
I'm personally OK with one giant patch if it is purely mechanical.
I am OK with CTAD also. IIUC, CTAD variables are sort of the best of both worlds -- `auto` and fully-specified types like `SaveRestore<bool>`. It's a bit more descriptive than `auto` but less verbose than fully-specified types.
@MaskRay @dblaikie Any thoughts?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139229/new/
https://reviews.llvm.org/D139229
More information about the cfe-commits
mailing list