Merge "Properly track where a build flag is declared" into main

This commit is contained in:
Treehugger Robot 2024-06-14 00:02:05 +00:00 committed by Gerrit Code Review
commit 5078551e97

View file

@ -135,9 +135,11 @@ func (src *FlagArtifact) Clone() *FlagArtifact {
value := &rc_proto.Value{}
proto.Merge(value, src.Value)
return &FlagArtifact{
FlagDeclaration: src.FlagDeclaration,
Traces: src.Traces,
Value: value,
FlagDeclaration: src.FlagDeclaration,
Traces: src.Traces,
Value: value,
DeclarationIndex: src.DeclarationIndex,
Redacted: src.Redacted,
}
}