[PATCH] D42116: [clang-tidy] Adding Fuchsia checker for trailing returns

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 14:00:48 PST 2018


juliehockett added a comment.

In https://reviews.llvm.org/D42116#977347, @aaron.ballman wrote:

> Can you give some background on what problem the coding standard is trying to avoid by banning this? For instance, if trailing return types are bad, are deduced return types similarly bad, or are those fine?


The main concern is that of readability. Deduced return types can help readability, so those are okay (within reason).


https://reviews.llvm.org/D42116





More information about the cfe-commits mailing list