This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix warning in portability-simd-intrinsics
ClosedPublic

Authored by PiotrZSL on Jan 25 2023, 10:08 AM.

Details

Summary

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

Diff Detail

Event Timeline

PiotrZSL created this revision.Jan 25 2023, 10:08 AM
PiotrZSL updated this revision to Diff 492167.Jan 25 2023, 10:14 AM

Corrected -std= in simd-intrinsics-ppc test

PiotrZSL updated this revision to Diff 492169.Jan 25 2023, 10:16 AM

Used same -check-suffix= in x86 and ppc tests

PiotrZSL published this revision for review.Jan 25 2023, 11:27 AM

Ready for review.

Herald added a project: Restricted Project. · View Herald TranscriptJan 25 2023, 11:27 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
carlosgalvezp accepted this revision.Jan 27 2023, 8:52 AM

LGTM, thanks for the fix!

This revision is now accepted and ready to land.Jan 27 2023, 8:52 AM
This revision was automatically updated to reflect the committed changes.