[PATCH] D28768: [clang-tidy] Add check 'modernize-return-braced-init-list'
Jonas Devlieghere via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 17 10:57:14 PST 2017
JDevlieghere updated this revision to Diff 84700.
JDevlieghere added a comment.
- Added test cases suggested by @Prazek
- Added test cases suggested by @alexfh
I don't match on `CXXUnresolvedConstructExpr` so the template dependent cases are not impacted by this check. This is what I intended, because we cannot make assumptions about the constructor being explicit, narrowing, etc.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12793 bytes
Desc: not available
More information about the cfe-commits