[PATCH] D72239: [clang-tidy] new opencl recursion not supported check
Frank Derry Wanye via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 5 17:39:52 PST 2020
ffrankies created this revision.
ffrankies added reviewers: aaron.ballman, alexfh, hokein.
ffrankies added projects: clang, clang-tools-extra, LLVM.
Herald added subscribers: mgehre, arphaman, xazax.hun, Anastasia, yaxunl, mgorny.
This lint check is part of the FLOCL (FPGA Linters for OpenCL) project out of the Synergy Lab at Virginia Tech.
FLOCL is a set of lint checks aimed at FPGA developers who code in OpenCL.
The opencl recursion not supported check is placed in a new "opencl" module.
The check finds and flags recursive function calls, which are not supported by the OpenCL standard.
As per the official OpenCL restrictions list.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D72239
Files:
clang-tidy/CMakeLists.txt
clang-tidy/ClangTidyForceLinker.h
clang-tidy/opencl/CMakeLists.txt
clang-tidy/opencl/OpenCLTidyModule.cpp
clang-tidy/opencl/RecursionNotSupportedCheck.cpp
clang-tidy/opencl/RecursionNotSupportedCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/opencl-recursion-not-supported.rst
docs/clang-tidy/index.rst
test/clang-tidy/checkers/opencl-recursion-not-supported.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72239.236278.patch
Type: text/x-patch
Size: 15908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200106/e6f21081/attachment.bin>
More information about the cfe-commits
mailing list