- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for stringConstantArg (0.15 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
return "", -1 } s, ok := stringConstantArg(pass, call, idx) if !ok { // The last argument before variadic args isn't a string. return "", -1 } return s, idx } } // Cannot determine call's signature. Fall back to scanning for the first // string constant in the call. for idx := range call.Args { if s, ok := stringConstantArg(pass, call, idx); ok { return s, idx }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0)