[all-commits] [llvm/llvm-project] d2b574: tsan: test: Initialize all fields of Params struct
Marco Elver via All-commits
all-commits at lists.llvm.org
Tue Aug 17 08:00:09 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2b574a4dea5b718e4386bf2e26af0126e5978ce
https://github.com/llvm/llvm-project/commit/d2b574a4dea5b718e4386bf2e26af0126e5978ce
Author: Marco Elver <elver at google.com>
Date: 2021-08-17 (Tue, 17 Aug 2021)
Changed paths:
M compiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp
Log Message:
-----------
tsan: test: Initialize all fields of Params struct
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.
Differential Revision: https://reviews.llvm.org/D108207
More information about the All-commits
mailing list