clang-tools 22.0.0git
|
Finds kernel files and include directives whose filename is kernel.cl, Verilog.cl, or VHDL.cl. More...
#include <KernelNameRestrictionCheck.h>
Public Member Functions | |
KernelNameRestrictionCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *) override |
Finds kernel files and include directives whose filename is kernel.cl, Verilog.cl, or VHDL.cl.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/altera/kernel-name-restriction.html
Definition at line 21 of file KernelNameRestrictionCheck.h.
|
inline |
Definition at line 23 of file KernelNameRestrictionCheck.h.
|
override |
Definition at line 54 of file KernelNameRestrictionCheck.cpp.