[PATCH] D51575: [clang-tidy] Implement a clang-tidy check to verify Google Objective-C function naming conventions 📜
Stephane Moore via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 8 00:55:25 PDT 2018
stephanemoore updated this revision to Diff 164568.
stephanemoore marked 3 inline comments as done.
stephanemoore edited the summary of this revision.
stephanemoore added a comment.
Implemented the following suggested changes:
• Restricted matching to function declarations that are not in expansions in system headers.
• Extended the check to all function declarations rather than just function definitions.
• Implemented a fixit hint for functions of static storage class.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D51575
Files:
clang-tidy/google/CMakeLists.txt
clang-tidy/google/FunctionNamingCheck.cpp
clang-tidy/google/FunctionNamingCheck.h
clang-tidy/google/GoogleTidyModule.cpp
docs/ReleaseNotes.rst
docs/clang-tidy/checks/google-objc-function-naming.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/google-objc-function-naming.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51575.164568.patch
Type: text/x-patch
Size: 12971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180908/9bb8734e/attachment-0001.bin>
More information about the cfe-commits
mailing list