[PATCH] D42983: [clang-tidy] Add readability-simd-intrinsics check.
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 11:11:28 PST 2018
MaskRay marked 9 inline comments as done.
MaskRay added a comment.
The check must be manually enabled now:
% clang-tidy -checks='-*,readability-simd-intrinsics' a.cc -- -std=c++2a
# Not enabled by default
% clang-tidy -checks='-*,readability-simd-intrinsics' -config='{CheckOptions: [{key: readability-simd-intrinsics.Enabled, value: 1}]}' a.cc -- -std=c++11
# warn and suggest std::experimental::simd
% clang-tidy -checks='-*,readability-simd-intrinsics' -config='{CheckOptions: [{key: readability-simd-intrinsics.Enabled, value: 1}]}' a.cc -- -std=c++2a
# warn and suggest std::simd
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42983
More information about the cfe-commits
mailing list