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

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 24 07:11:59 PST 2017


alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.


================
Comment at: test/clang-tidy/modernize-return-braced-init-list.cpp:150
+template <typename T>
+T f16() {
+  return T();
----------------
"With multiple instantiations" is an important part of my comment above. Can you add a couple of instantiations of this function? Same for the function and the class below.


Repository:
  rL LLVM

https://reviews.llvm.org/D28768





More information about the cfe-commits mailing list