[PATCH] D13787: [clang-tidy] add check cppcoreguidelines-pro-type-vararg-use
Matthias Gehre via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 19 16:16:20 PDT 2015
mgehre updated this revision to Diff 37814.
mgehre added a comment.
Only flag va_arg and variadic call. Suppress warning if the only vararg argument is literal 0.
http://reviews.llvm.org/D13787
Files:
clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp
clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h
docs/clang-tidy/checks/cppcoreguidelines-pro-type-vararg.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13787.37814.patch
Type: text/x-patch
Size: 9380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151019/847f3c33/attachment-0001.bin>
More information about the cfe-commits
mailing list