Files
codeql/cpp/ql/src/jsf/4.07 Header Files/AV Rule 33.ql
2018-11-20 17:13:23 +00:00

15 lines
405 B
Plaintext

/**
* @name AV Rule 33
* @description The #include directive shall use the <filename.h> notation to include header files.
* @kind problem
* @id cpp/jsf/av-rule-33
* @problem.severity error
* @tags maintainability
* portability
* external/jsf
*/
import cpp
from Include i
where i.getIncludeText().matches("<%")
select i, "AV Rule 33: the #include <filename.h> notation shall be used."