[PATCH] D56160: [clang-tidy] modernize-use-trailing-return check

Bernhard Manfred Gruber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 30 09:51:28 PST 2018


bernhardmgruber added a comment.

Hi!

This is my first contribution to LLVM and I may not yet know the conventions here.

I decided to write this pass, as some work colleagues and me oftenly want to modernize legacy code bases. We like the trailing return type syntax available since C++11 and use it for new code. To keep a consistent code base, it would help a lot to automatically convert pre C++11 code to the new trailing return syntax. I strongly believe this will be handy for several other developers out there, although it probably should not be enabled by default.

I am happy to receive any feedback!


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56160/new/

https://reviews.llvm.org/D56160





More information about the cfe-commits mailing list