new altera ID dependent backward branch check
authorFrank Derry Wanye <wanyef@mail.gvsu.edu>
Thu, 6 May 2021 21:01:39 +0000 (17:01 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 6 May 2021 21:01:39 +0000 (17:01 -0400)
commit83af66e18e3d3760d56ea7e3bdbff3428ae7730d
tree657a9ea1b11a9cc1c8ff0e6639321e3059d02562
parenta3a8a1a15b524d91b5308db68e9d293b34cd88dd
new altera ID dependent backward branch check

This lint check is a 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 write code
in OpenCL.

The altera ID dependent backward branch lint check finds ID dependent
variables and fields used within loops, and warns of their usage. Using
these variables in loops can lead to performance degradation.
clang-tools-extra/clang-tidy/altera/AlteraTidyModule.cpp
clang-tools-extra/clang-tidy/altera/CMakeLists.txt
clang-tools-extra/clang-tidy/altera/IdDependentBackwardBranchCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/altera/IdDependentBackwardBranchCheck.h [new file with mode: 0644]
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/altera-id-dependent-backward-branch.rst [new file with mode: 0644]
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/altera-id-dependent-backward-branch.cpp [new file with mode: 0644]