mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
15 lines
246 B
Plaintext
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
|