Ver código fonte

fixes

rebrand
Martin Dørum 3 anos atrás
pai
commit
34729dc089
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2
    2
      src/compdb.cc
  2. 1
    1
      src/toolchain.cc

+ 2
- 2
src/compdb.cc Ver arquivo

@@ -35,8 +35,8 @@ void Writer::write(
}

stream_
<< "\t\t\"directory\": \"" << escape(dir) << "\"\n"
<< "\t\t\"file\": \"" << escape(file) << "\"\n"
<< "\t\t\"directory\": \"" << escape(dir) << "\",\n"
<< "\t\t\"file\": \"" << escape(file) << "\",\n"
<< "\t\t\"command\": \"" << escape(cmd[0]);

for (size_t i = 1; i < cmd.size(); ++i) {

+ 1
- 1
src/toolchain.cc Ver arquivo

@@ -44,7 +44,7 @@ static const char *getCXXCompiler() {
return cxxCompiler;
}

cxxCompiler = getenv("CC");
cxxCompiler = getenv("CXX");
if (cxxCompiler != nullptr) {
return cxxCompiler;
}

Carregando…
Cancelar
Salvar