[all-commits] [llvm/llvm-project] fc84eb: [clang-tidy] Ignore variable template partial spec...

Evgeny Shulgin via All-commits all-commits at lists.llvm.org
Mon Feb 14 02:38:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc84ebfff3a3dd373129f465f2ad5763ed4423c6
      https://github.com/llvm/llvm-project/commit/fc84ebfff3a3dd373129f465f2ad5763ed4423c6
  Author: Evgeny Shulgin <izaronplatz at gmail.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/misc-definitions-in-headers.hpp

  Log Message:
  -----------
  [clang-tidy] Ignore variable template partial specializations in `misc-definitions-in-headers`

Variable template partial specializations are inline and can't lead
to ODR-violations. The checker now ignores them.

Fixes https://github.com/llvm/llvm-project/issues/53519

Reviewed By: hokein

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




More information about the All-commits mailing list