The BuilderModeFlag function does not work with flag packages (such as Google's) that define their own FlagSet. This change exposes a type that satisifies flag.Value insted of a function. That type is *BuilderMode; there's no need for a separate wrapper type. Change-Id: I8095b80de499e3c52a29a5c1996d1b1fe3799358 Reviewed-on: https://go-review.googlesource.com/20330 Reviewed-by: Michael Matloob <matloob@golang.org> |
||
---|---|---|
.. | ||
ast/astutil | ||
buildutil | ||
callgraph | ||
exact | ||
gccgoimporter | ||
gcimporter | ||
gcimporter15 | ||
importer | ||
loader | ||
pointer | ||
ssa | ||
types | ||
vcs |