瀏覽代碼

Formatting

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
3c3252cb1d
共有 4 個文件被更改,包括 6 次插入6 次删除
  1. +1
    -1
      src/dds/build.cpp
  2. +1
    -1
      src/dds/compdb.hpp
  3. +3
    -3
      src/dds/proc.nix.cpp
  4. +1
    -1
      src/dds/repo/repo.hpp

+ 1
- 1
src/dds/build.cpp 查看文件

@@ -1,11 +1,11 @@
#include "./build.hpp"

#include <dds/build/plan/compile_file.hpp>
#include <dds/compdb.hpp>
#include <dds/logging.hpp>
#include <dds/proc.hpp>
#include <dds/source.hpp>
#include <dds/toolchain/toolchain.hpp>
#include <dds/compdb.hpp>
#include <dds/usage_reqs.hpp>
#include <dds/util/algo.hpp>
#include <dds/util/string.hpp>

+ 1
- 1
src/dds/compdb.hpp 查看文件

@@ -6,4 +6,4 @@ namespace dds {

void generate_compdb(const build_plan&, build_env_ref);

} // namespace dds
} // namespace dds

+ 3
- 3
src/dds/proc.nix.cpp 查看文件

@@ -47,9 +47,9 @@ spawn_child(const std::vector<std::string>& command, int stdout_pipe, int close_
::execvp(strings[0], (char* const*)strings.data());

if (errno == ENOENT) {
std::cerr << fmt::
format("[dds child executor] The requested executable ({}) could not be found.",
strings[0]);
std::cerr
<< fmt::format("[dds child executor] The requested executable ({}) could not be found.",
strings[0]);
std::exit(-1);
}


+ 1
- 1
src/dds/repo/repo.hpp 查看文件

@@ -5,8 +5,8 @@

#include <cassert>
#include <functional>
#include <shared_mutex>
#include <optional>
#include <shared_mutex>
#include <vector>

namespace dds {

Loading…
取消
儲存