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.
Paths
| Differential D108207
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
Diff Detail
Event TimelineThis revision was landed with ongoing or failed builds. Closed by commit rGd2b574a4dea5: tsan: test: Initialize all fields of Params struct (authored by melver). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 366900 compiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp
|
clang-tidy: error: 'tsan_trace.h' file not found [clang-diagnostic-error]
not useful