Uh oh!
There was an error while loading. Please reload this page.
src: fix modernize-return-braced-init-list - #26023
Conversation
gengjiawen
commented
Feb 12, 2019
@addaleax Can you review this, thanks. |
addaleax
commented
Feb 12, 2019
@gengjiawen I’m not sure I see the harm in being explicit about return types… |
gengjiawen
commented
Feb 12, 2019
Give another thought, I agree with you. |
gengjiawen
commented
Feb 14, 2019
But from another way, this is less verbose in most cases ... Any opinion ? |
refack
commented
Feb 14, 2019
Personally I prefer being tarse, but the concensus seems to be with being explicit #23028 |
gengjiawen
commented
Feb 17, 2019
Reopen it to give this more discussion. |
devsnek
commented
Feb 17, 2019
i've literally never seen this before, and i suspect the same is true of others. i feel this would be more confusing than anything else. |
I can't really see the benefit this brings, aside from that it makes the return statements more succinct and potentially keeps them separate from return type changes, but then in the case of |
gengjiawen
commented
Feb 17, 2019
Perhaps another time. |
Fix https://clang.llvm.org/extra/clang-tidy/checks/modernize-return-braced-init-list.html.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes