aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFrank Derry Wanye <wanyef@mail.gvsu.edu>2020-11-02 10:11:38 -0500
committerAaron Ballman <aaron@aaronballman.com>2020-11-02 10:11:38 -0500
commit43a38a65233039b5e71797a644d41a890f8d7f2b (patch)
tree22723cf9e85cda334d78a2b9a0b0610f35145d7d /clang/lib/CodeGen/CodeGenModule.cpp
parent980b860e67ed985e900ea7c7c3a0eef8b0716ad8 (diff)
downloadllvm-43a38a65233039b5e71797a644d41a890f8d7f2b.zip
llvm-43a38a65233039b5e71797a644d41a890f8d7f2b.tar.gz
llvm-43a38a65233039b5e71797a644d41a890f8d7f2b.tar.bz2
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."
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions