{"push_id":835870857,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"d8975af281fe6ab4e7b6d1ba1adaaa2e750967d8","before":"550e30186464fa8f59828bc3d09c2d2ce8ef3bc7","commits":[{"sha":"d8975af281fe6ab4e7b6d1ba1adaaa2e750967d8","author":{"email":"0dd5a697d6657e4d33c16056c03fc918529f7d7b@gmx.de","name":"Matthias Gehre"},"message":"[clang-tidy] add check cppcoreguidelines-pro-type-vararg\n\nSummary:\nThis check flags all calls to c-style vararg functions and all use\nof va_list, va_start and va_arg.\n\nPassing to varargs assumes the correct type will be read. This is\nfragile because it cannot generally be enforced to be safe in the\nlanguage and so relies on programmer discipline to get it right.\n\nThis rule is part of the \"Type safety\" profile of the C++ Core\nGuidelines, see\nhttps://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#-type8-avoid-reading-from-varargs-or-passing-vararg-arguments-prefer-variadic-template-parameters-instead\n\nThis commits also reverts\n  \"[clang-tidy] add cert's VariadicFunctionDefCheck as cppcoreguidelines-pro-type-vararg-def\"\nbecause that check makes the SFINAE use of vararg functions impossible.\n\nReviewers: alexfh, sbenza, bkramer, aaron.ballman\n\nSubscribers: cfe-commits\n\nDifferential Revision: http://reviews.llvm.org/D13787\n\ngit-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@250939 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-mirror/clang-tools-extra/commits/d8975af281fe6ab4e7b6d1ba1adaaa2e750967d8"}]}