[PATCH] D28768: [clang-tidy] Add check 'modernize-return-braced-init-list'

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 16 04:33:19 PST 2017


malcolm.parsons added a comment.

In https://reviews.llvm.org/D28768#647198, @JDevlieghere wrote:

> In https://reviews.llvm.org/D28768#647177, @malcolm.parsons wrote:
>
> > What happens if the function has `auto` as the return type?
>
>
> Nothing, the constructor is left untouched.


Please add a test.


Repository:
  rL LLVM

https://reviews.llvm.org/D28768





More information about the cfe-commits mailing list