This is an archive of the discontinued LLVM Phabricator instance.

tsan: test: Initialize all fields of Params struct
ClosedPublic

Authored by melver on Aug 17 2021, 7:56 AM.

Details

Summary

Some compilers started complaining about the test:

tsan_trace_test.cpp:128:21: error: missing field 'type' initializer

Fix it by initializing all 5 fields, even though the type field will be
reset in the for loop.

Diff Detail

Event Timeline

melver requested review of this revision.Aug 17 2021, 7:56 AM
melver created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2021, 7:56 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision was not accepted when it landed; it landed in state Needs Review.Aug 17 2021, 8:00 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.

Awesome! Thanks!