[all-commits] [llvm/llvm-project] e21c3f: [clang-tidy] ignore builtin varargs from pro-type-...

Nathan James via All-commits all-commits at lists.llvm.org
Thu Jun 4 09:58:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e21c3f223a3537df0d9d02fce5038b3d7b98ab52
      https://github.com/llvm/llvm-project/commit/e21c3f223a3537df0d9d02fce5038b3d7b98ab52
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-pro-type-vararg.cpp

  Log Message:
  -----------
  [clang-tidy] ignore builtin varargs from pro-type-vararg-check

Disables the check from warning on some built in vararg functions, Address [[ https://bugs.llvm.org/show_bug.cgi?id=45860 | Clang-tidy should not consider __builtin_constant_p a variadic function. ]]

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D80887




More information about the All-commits mailing list