Files
codeql/cpp/ql/src/jsf/4.09 Style/AV Rule 61.ql
Jonas Jensen 4ef5c9af62 C++: Autoformat everything
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
2019-09-09 11:25:53 +02:00

18 lines
440 B
Plaintext

/**
* @name AV Rule 61
* @description Braces which enclose a block will have nothing else on the line except comments (if necessary).
* @kind problem
* @id cpp/jsf/av-rule-61
* @problem.severity recommendation
* @tags maintainability
* readability
* external/jsf
*/
import cpp
import external.ExternalArtifact
from DefectExternalData d
where d.getQueryPath() = "jsf/4.09 Style/AV Rule 61.ql"
select d, d.getMessage()