fix(3p/nix): apply all clang-tidy fixes
Change-Id: I265e763393422ee1881653527c91024458060825 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1432 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
69f402563a
commit
ef54f5da9f
65 changed files with 580 additions and 497 deletions
6
third_party/nix/src/tests/attr-set.cc
vendored
6
third_party/nix/src/tests/attr-set.cc
vendored
|
|
@ -113,7 +113,7 @@ using nix::tests::DummyStore;
|
|||
|
||||
class AttrSetTest : public ::testing::Test {
|
||||
protected:
|
||||
EvalState* eval_state_;
|
||||
EvalState* eval_state_{};
|
||||
void SetUp() override {
|
||||
nix::initGC();
|
||||
auto store = std::make_shared<DummyStore>();
|
||||
|
|
@ -122,8 +122,8 @@ class AttrSetTest : public ::testing::Test {
|
|||
}
|
||||
|
||||
void assert_bindings_equal(nix::Bindings& lhs, nix::Bindings& rhs) {
|
||||
Value lhs_val;
|
||||
Value rhs_val;
|
||||
Value lhs_val{};
|
||||
Value rhs_val{};
|
||||
lhs_val.type = rhs_val.type = ValueType::tAttrs;
|
||||
lhs_val.attrs = &lhs;
|
||||
rhs_val.attrs = &lhs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue