mirror of
https://github.com/github/codeql.git
synced 2026-02-20 17:03:41 +01:00
Some files that will change in #1736 have been spared. ./build -j4 target/jars/qlformat find ql/cpp/ql -name "*.ql" -print0 | xargs -0 target/jars/qlformat --input find ql/cpp/ql -name "*.qll" -print0 | xargs -0 target/jars/qlformat --input (cd ql && git checkout 'cpp/ql/src/semmle/code/cpp/ir/implementation/**/*SSA*.qll') buildutils-internal/scripts/pr-checks/sync-identical-files.py --latest
19 lines
455 B
Plaintext
19 lines
455 B
Plaintext
/**
|
|
* @name TODO comment
|
|
* @description Comments containing 'TODO' indicate that the code may be in an incomplete state.
|
|
* @kind problem
|
|
* @problem.severity recommendation
|
|
* @precision medium
|
|
* @id cpp/todo-comment
|
|
* @tags maintainability
|
|
* documentation
|
|
* external/cwe/cwe-546
|
|
*/
|
|
|
|
import cpp
|
|
import Documentation.CaptionedComments
|
|
|
|
from Comment c, string message
|
|
where message = getCommentTextCaptioned(c, "TODO")
|
|
select c, message
|