diff options
Diffstat (limited to 'go/cfg/cfg.go')
-rw-r--r-- | go/cfg/cfg.go | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/go/cfg/cfg.go b/go/cfg/cfg.go index 3ebc65f60..37d799f4b 100644 --- a/go/cfg/cfg.go +++ b/go/cfg/cfg.go @@ -20,14 +20,14 @@ // // produces this CFG: // -// 1: x := f() -// x != nil -// succs: 2, 3 -// 2: T() -// succs: 4 -// 3: F() -// succs: 4 -// 4: +// 1: x := f() +// x != nil +// succs: 2, 3 +// 2: T() +// succs: 4 +// 3: F() +// succs: 4 +// 4: // // The CFG does contain Return statements; even implicit returns are // materialized (at the position of the function's closing brace). @@ -36,7 +36,6 @@ // edges, nor the short-circuit semantics of the && and || operators, // nor abnormal control flow caused by panic. If you need this // information, use golang.org/x/tools/go/ssa instead. -// package cfg import ( |