Browse Source

Formatting

default_compile_flags
vector-of-bool 5 years ago
parent
commit
3c3252cb1d
4 changed files with 6 additions and 6 deletions
  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 View File

#include "./build.hpp" #include "./build.hpp"


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

+ 1
- 1
src/dds/compdb.hpp View File



void generate_compdb(const build_plan&, build_env_ref); void generate_compdb(const build_plan&, build_env_ref);


} // namespace dds
} // namespace dds

+ 3
- 3
src/dds/proc.nix.cpp View File

::execvp(strings[0], (char* const*)strings.data()); ::execvp(strings[0], (char* const*)strings.data());


if (errno == ENOENT) { 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); std::exit(-1);
} }



+ 1
- 1
src/dds/repo/repo.hpp View File



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


namespace dds { namespace dds {

Loading…
Cancel
Save