[all-commits] [llvm/llvm-project] f1e246: [clang-tidy] Fix false-positive in cppcoreguidelin...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Sat Mar 11 09:37:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1e2469edcfc160867e4ef73b2dcc259974c9d6a
      https://github.com/llvm/llvm-project/commit/f1e2469edcfc160867e4ef73b2dcc259974c9d6a
  Author: Piotr Zegar <piotr.zegar at nokia.com>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/slicing.cpp

  Log Message:
  -----------
  [clang-tidy] Fix false-positive in cppcoreguidelines-slicing

When warning would be emitted in constructor for virtual base class
initialization.

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

Reviewed By: carlosgalvezp

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




More information about the All-commits mailing list