mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02: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
18 lines
440 B
Plaintext
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()
|