llvm-project/clang-tools-extra/clang-tidy/altera
Frank Derry Wanye 9ca6fc4e09 Add a new altera kernel name restriction check to clang-tidy.
The altera kernel name restriction check finds kernel files and include
directives whose filename is "kernel.cl", "Verilog.cl", or "VHDL.cl".
Such kernel file names cause the Altera Offline Compiler to generate
intermediate design files that have the same names as certain internal
files, which leads to a compilation error.

As per the "Guidelines for Naming the Kernel" section in the "Intel FPGA
SDK for OpenCL Pro Edition: Programming Guide."

This reverts the reversion from 43a38a6523.
2020-11-09 09:26:50 -05:00
..
AlteraTidyModule.cpp Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
CMakeLists.txt Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
KernelNameRestrictionCheck.cpp Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
KernelNameRestrictionCheck.h Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
StructPackAlignCheck.cpp
StructPackAlignCheck.h