[PATCH] D42983: [clang-tidy] Add readability-simd-intrinsics check.
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 7 09:46:33 PST 2018
MaskRay updated this revision to Diff 133237.
MaskRay added a comment.
Add check-specific option `Experimental`
StringRef Std;
if (Result.Context->getLangOpts().CPlusPlus2a) {
Std = "std";
} else if (Result.Context->getLangOpts().CPlusPlus11 && Experimental) {
// libcxx implementation backports it to C++11 std::experimental::simd.
Std = "std::experimental";
} else
return;
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42983
Files:
clang-tidy/readability/CMakeLists.txt
clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tidy/readability/SIMDIntrinsicsCheck.cpp
clang-tidy/readability/SIMDIntrinsicsCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/readability-simd-intrinsics.rst
test/clang-tidy/readability-simd-intrinsics.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42983.133237.patch
Type: text/x-patch
Size: 10977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180207/b8dbe330/attachment.bin>
More information about the cfe-commits
mailing list