Files
codeql/cpp/ql/examples/snippets/todocomment.ql
2019-07-26 17:47:11 +02:00

15 lines
246 B
Plaintext

/**
* @id cpp/examples/todocomment
* @name TODO comments
* @description Finds comments containing the word "TODO"
* @tags comment
* matches
* TODO
*/
import cpp
from Comment c
where c.getContents().matches("%TODO%")
select c