style(3p/nix/libexpr): Reformat with clang-format
This commit is contained in:
parent
f8deeb1442
commit
c7be956f3f
5 changed files with 7 additions and 6 deletions
2
third_party/nix/src/libexpr/eval.cc
vendored
2
third_party/nix/src/libexpr/eval.cc
vendored
|
@ -1,4 +1,5 @@
|
|||
#include "eval.hh"
|
||||
#include <glog/logging.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
|
@ -16,7 +17,6 @@
|
|||
#include "json.hh"
|
||||
#include "store-api.hh"
|
||||
#include "util.hh"
|
||||
#include <glog/logging.h>
|
||||
|
||||
#if HAVE_BOEHMGC
|
||||
|
||||
|
|
2
third_party/nix/src/libexpr/get-drvs.cc
vendored
2
third_party/nix/src/libexpr/get-drvs.cc
vendored
|
@ -1,10 +1,10 @@
|
|||
#include "get-drvs.hh"
|
||||
#include <glog/logging.h>
|
||||
#include <cstring>
|
||||
#include <regex>
|
||||
#include "derivations.hh"
|
||||
#include "eval-inline.hh"
|
||||
#include "util.hh"
|
||||
#include <glog/logging.h>
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
4
third_party/nix/src/libexpr/primops.cc
vendored
4
third_party/nix/src/libexpr/primops.cc
vendored
|
@ -1,5 +1,6 @@
|
|||
#include "primops.hh"
|
||||
#include <dlfcn.h>
|
||||
#include <glog/logging.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
@ -19,7 +20,6 @@
|
|||
#include "util.hh"
|
||||
#include "value-to-json.hh"
|
||||
#include "value-to-xml.hh"
|
||||
#include <glog/logging.h>
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
@ -508,7 +508,7 @@ static void prim_trace(EvalState& state, const Pos& pos, Value** args,
|
|||
if (args[0]->type == tString) {
|
||||
DLOG(INFO) << "trace: " << args[0]->string.s;
|
||||
} else {
|
||||
DLOG(INFO)<< "trace: " << *args[0];
|
||||
DLOG(INFO) << "trace: " << *args[0];
|
||||
}
|
||||
state.forceValue(*args[1]);
|
||||
v = *args[1];
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <glog/logging.h>
|
||||
#include <sys/time.h>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <regex>
|
||||
|
@ -7,7 +8,6 @@
|
|||
#include "pathlocks.hh"
|
||||
#include "primops.hh"
|
||||
#include "store-api.hh"
|
||||
#include <glog/logging.h>
|
||||
|
||||
using namespace std::string_literals;
|
||||
|
||||
|
|
|
@ -141,7 +141,8 @@ HgInfo exportMercurial(ref<Store> store, const std::string& uri,
|
|||
hgInfo.storePath = json["storePath"];
|
||||
|
||||
if (store->isValidPath(hgInfo.storePath)) {
|
||||
DLOG(INFO) << "using cached Mercurial store path '" << hgInfo.storePath << "'";
|
||||
DLOG(INFO) << "using cached Mercurial store path '" << hgInfo.storePath
|
||||
<< "'";
|
||||
return hgInfo;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue