Skip to content

Commit

Permalink
[PV] Automated Suggestion 🤖
Browse files Browse the repository at this point in the history
  Project Vitals has indentified the following code as unused and generated
  this corresponding PR to facilitate deletion.

  Please verify correctness and oversee the merge of this PR. Simplifying our
  collective codebase helps to minimize surface area for teams across Lyft!

  Join us in [#project-vitals-dev](https://lyft.enterprise.slack.com/archives/C06TB1M2V5W)
  with any questions, concerns, or curiosities!
  • Loading branch information
Project Vitals (Connor McCarthy) committed Jul 11, 2024
1 parent 496ad1a commit 0cfea57
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ func (g *graph) Lookup(name string) (Entity, bool) {
return e, ok
}

// ProcessDescriptors is deprecated; use ProcessCodeGeneratorRequest instead
func ProcessDescriptors(debug Debugger, req *plugin_go.CodeGeneratorRequest) AST {
return ProcessCodeGeneratorRequest(debug, req)
}

// ProcessCodeGeneratorRequest converts a CodeGeneratorRequest from protoc into a fully
// connected AST entity graph. An error is returned if the input is malformed.
func ProcessCodeGeneratorRequest(debug Debugger, req *plugin_go.CodeGeneratorRequest) AST {
Expand Down
6 changes: 0 additions & 6 deletions init_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,3 @@ func BiDirectional() InitOption {
}

// SupportedFeatures allows defining protoc features to enable / disable.
// See: https://github.com/protocolbuffers/protobuf/blob/v3.17.0/docs/implementing_proto3_presence.md#signaling-that-your-code-generator-supports-proto3-optional
func SupportedFeatures(feat *uint64) InitOption {
return func(g *Generator) {
g.persister.SetSupportedFeatures(feat)
}
}
1 change: 1 addition & 0 deletions lang/go/type_name_p3_presence_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build proto3_presence
// +build proto3_presence

package pgsgo
Expand Down

0 comments on commit 0cfea57

Please sign in to comment.