Do not include comments in the CFG

This commit is contained in:
Owen Mansel-Chan
2026-05-21 11:50:09 +01:00
parent 2c4fe160bf
commit b411b0ecd0

View File

@@ -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()