[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 10:41:32 PST 2018
juliehockett created this revision.
juliehockett added reviewers: aaron.ballman, alexfh, hokein, ilya-biryukov.
juliehockett added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.
Adds a check to the Fuchsia module to warn if a function has a trailing return.
See https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md for reference.
https://reviews.llvm.org/D42116
Files:
clang-tidy/fuchsia/CMakeLists.txt
clang-tidy/fuchsia/FuchsiaTidyModule.cpp
clang-tidy/fuchsia/TrailingReturnCheck.cpp
clang-tidy/fuchsia/TrailingReturnCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/fuchsia-trailing-return.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/fuchsia-trailing-return.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42116.129990.patch
Type: text/x-patch
Size: 6208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180116/7f9355e3/attachment.bin>
More information about the cfe-commits
mailing list