mirror of
https://github.com/github/codeql.git
synced 2026-05-24 16:17:07 +02:00
Do not include comments in the CFG
This commit is contained in:
@@ -56,6 +56,10 @@ module GoCfg {
|
||||
or
|
||||
e instanceof Go::ParenExpr
|
||||
or
|
||||
e instanceof Go::CommentGroup
|
||||
or
|
||||
e instanceof Go::Comment
|
||||
or
|
||||
e = any(Go::ImportSpec is).getPathExpr()
|
||||
or
|
||||
e.getParent*() = any(Go::ArrayTypeExpr ate).getLength()
|
||||
|
||||
Reference in New Issue
Block a user