refactor(tvix): Very minor lint fixes
Change-Id: I4aca504d98c79f931b7faadff86f40d27ed5a2c5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1719 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
c9d5262aa7
commit
e38015f7b5
2 changed files with 4 additions and 3 deletions
3
third_party/nix/src/libexpr/eval.cc
vendored
3
third_party/nix/src/libexpr/eval.cc
vendored
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
@ -903,7 +904,7 @@ static std::string showAttrPath(EvalState& state, Env& env,
|
|||
return out.str();
|
||||
}
|
||||
|
||||
unsigned long nrLookups = 0;
|
||||
uint64_t nrLookups = 0;
|
||||
|
||||
void ExprSelect::eval(EvalState& state, Env& env, Value& v) {
|
||||
Value vTmp;
|
||||
|
|
4
third_party/nix/src/libexpr/value.hh
vendored
4
third_party/nix/src/libexpr/value.hh
vendored
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
typedef enum {
|
||||
using ValueType = enum {
|
||||
tInt = 1,
|
||||
tBool,
|
||||
tString,
|
||||
|
@ -27,7 +27,7 @@ typedef enum {
|
|||
tPrimOpApp,
|
||||
_reserved1, // formerly tExternal
|
||||
tFloat
|
||||
} ValueType;
|
||||
};
|
||||
|
||||
class Bindings;
|
||||
struct Env;
|
||||
|
|
Loading…
Reference in a new issue