[PATCH] D42983: [clang-tidy] Add readability-simd-intrinsics check.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 09:54:16 PST 2018


MaskRay added inline comments.


================
Comment at: test/clang-tidy/readability-simd-intrinsics-ppc.cpp:3
+// RUN:  -config='{CheckOptions: [ \
+// RUN:    {key: readability-simd-intrinsics.Suggest, value: 1} \
+// RUN:  ]}' -- -target ppc64le -maltivec -std=c++11
----------------
hokein wrote:
> consider adding test when Suggest is 0?
I'll have to duplicate the CHECK-MESSAGE lines for each intrinsic, which seems a lot of boilerplate.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D42983





More information about the cfe-commits mailing list