[all-commits] [llvm/llvm-project] 1d02dd: [clang-tidy] Fix warning in portability-simd-intri...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Jan 27 10:52:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d02dd241816e3d5865e7d395ee7310167198b09
      https://github.com/llvm/llvm-project/commit/1d02dd241816e3d5865e7d395ee7310167198b09
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/portability/simd-intrinsics-ppc.cpp
    M clang-tools-extra/test/clang-tidy/checkers/portability/simd-intrinsics-x86.cpp

  Log Message:
  -----------
  [clang-tidy] Fix warning in portability-simd-intrinsics

When portability-simd-intrinsics.Suggest were set to false,
produced warning were missing source location,
and due to that such warning coudn't be NOLINTed.

Added missing tests.

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

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




More information about the All-commits mailing list