style(tvix): Sort out minor formatting errors
Invocations of the MakeError macro that were not followed by a semicolon messed up indentation in the next lines. Change-Id: I03d7d1443f062a38af2c7da3da8928e0ed05e274 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1708 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
a1965e9182
commit
42bdaacca6
6 changed files with 16 additions and 16 deletions
4
third_party/nix/src/libexpr/json-to-value.hh
vendored
4
third_party/nix/src/libexpr/json-to-value.hh
vendored
|
@ -6,8 +6,8 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
MakeError(JSONParseError, EvalError)
|
||||
MakeError(JSONParseError, EvalError);
|
||||
|
||||
void parseJSON(EvalState& state, const std::string& s, Value& v);
|
||||
|
||||
}
|
||||
} // namespace nix
|
||||
|
|
2
third_party/nix/src/libstore/build.cc
vendored
2
third_party/nix/src/libstore/build.cc
vendored
|
@ -1530,7 +1530,7 @@ void replaceValidPath(const Path& storePath, const Path& tmpPath) {
|
|||
deletePath(oldPath);
|
||||
}
|
||||
|
||||
MakeError(NotDeterministic, BuildError)
|
||||
MakeError(NotDeterministic, BuildError);
|
||||
|
||||
void DerivationGoal::buildDone() {
|
||||
trace("build done");
|
||||
|
|
2
third_party/nix/src/libutil/args.hh
vendored
2
third_party/nix/src/libutil/args.hh
vendored
|
@ -10,7 +10,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
MakeError(UsageError, Error)
|
||||
MakeError(UsageError, Error);
|
||||
|
||||
enum HashType : char;
|
||||
|
||||
|
|
2
third_party/nix/src/libutil/serialise.hh
vendored
2
third_party/nix/src/libutil/serialise.hh
vendored
|
@ -235,7 +235,7 @@ Sink& operator<<(Sink& sink, const std::string& s);
|
|||
Sink& operator<<(Sink& sink, const Strings& s);
|
||||
Sink& operator<<(Sink& sink, const StringSet& s);
|
||||
|
||||
MakeError(SerialisationError, Error)
|
||||
MakeError(SerialisationError, Error);
|
||||
|
||||
template <typename T>
|
||||
T readNum(Source& source) {
|
||||
|
|
2
third_party/nix/src/libutil/thread-pool.hh
vendored
2
third_party/nix/src/libutil/thread-pool.hh
vendored
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
MakeError(ThreadPoolShutDown, Error)
|
||||
MakeError(ThreadPoolShutDown, Error);
|
||||
|
||||
/* A simple thread pool that executes a queue of work items
|
||||
(lambdas). */
|
||||
|
|
2
third_party/nix/src/libutil/types.hh
vendored
2
third_party/nix/src/libutil/types.hh
vendored
|
@ -93,7 +93,7 @@ class BaseError : public std::exception {
|
|||
using superClass::superClass; \
|
||||
};
|
||||
|
||||
MakeError(Error, BaseError)
|
||||
MakeError(Error, BaseError);
|
||||
|
||||
class SysError : public Error {
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue