driver/gen/ir: clang-format the world

This uses the LLVM style, which makes sense for sharing code
with other LLVM projects. The DMD code we use will soon all
be in D anyway.
This commit is contained in:
David Nadlinger 2015-11-01 22:09:44 +02:00
parent 123666cf89
commit 44b0f7b615
125 changed files with 28991 additions and 30602 deletions

View file

@ -17,14 +17,13 @@
#include <string>
namespace exe_path
{
void initialize(const char* arg0, void* mainAddress);
namespace exe_path {
void initialize(const char *arg0, void *mainAddress);
const std::string& getExePath(); // <baseDir>/bin/ldc2
std::string getBinDir(); // <baseDir>/bin
std::string getBaseDir(); // <baseDir>
std::string prependBinDir(const char* suffix); // <baseDir>/bin/<suffix>
const std::string &getExePath(); // <baseDir>/bin/ldc2
std::string getBinDir(); // <baseDir>/bin
std::string getBaseDir(); // <baseDir>
std::string prependBinDir(const char *suffix); // <baseDir>/bin/<suffix>
}
#endif // LDC_DRIVER_EXE_PATH_H