[PATCH] D18191: [clang-tidy] Add check for function parameters that are const& to builtin types
Steve Downey via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 17 15:34:03 PDT 2016
sdowney updated this revision to Diff 50982.
sdowney added a comment.
Add more test cases, covering templates, template specializations, function definitions, member function templates.
Check if parent function of the argument is a nullptr.
Fix spelling mistake.
http://reviews.llvm.org/D18191
Files:
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/ConstRefBuiltinCheck.cpp
clang-tidy/misc/ConstRefBuiltinCheck.h
clang-tidy/misc/MiscTidyModule.cpp
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-const-ref-builtin.rst
test/clang-tidy/misc-const-ref-builtin.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18191.50982.patch
Type: text/x-patch
Size: 9747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160317/a7601332/attachment.bin>
More information about the cfe-commits
mailing list