aboutsummaryrefslogtreecommitdiffstats
path: root/prog/analysis.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-11 17:09:04 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-12 08:22:44 +0200
commitc1147c8df73eb61bc9d66e6628e0369e21f28670 (patch)
tree1f5f75bf13a32941025c134fdd236fb137cf3181 /prog/analysis.go
parent0faffd0438df859fb66236085ac3992735900d26 (diff)
all: fix comments format
Fix capitalization, dots at the end and two spaces after a period. Update #1876
Diffstat (limited to 'prog/analysis.go')
-rw-r--r--prog/analysis.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/prog/analysis.go b/prog/analysis.go
index c41dae25b..8a7b2730a 100644
--- a/prog/analysis.go
+++ b/prog/analysis.go
@@ -100,11 +100,11 @@ func (s *state) analyzeImpl(c *Call, resources bool) {
}
type ArgCtx struct {
- Parent *[]Arg // GroupArg.Inner (for structs) or Call.Args containing this arg
- Fields []Field // Fields of the parent struct/syscall
- Base *PointerArg // pointer to the base of the heap object containing this arg
- Offset uint64 // offset of this arg from the base
- Stop bool // if set by the callback, subargs of this arg are not visited
+ Parent *[]Arg // GroupArg.Inner (for structs) or Call.Args containing this arg.
+ Fields []Field // Fields of the parent struct/syscall.
+ Base *PointerArg // Pointer to the base of the heap object containing this arg.
+ Offset uint64 // Offset of this arg from the base.
+ Stop bool // If set by the callback, subargs of this arg are not visited.
}
func ForeachSubArg(arg Arg, f func(Arg, *ArgCtx)) {