Do not include comments in the CFG

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

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