mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-10 21:06:33 +03:00
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:
parent
123666cf89
commit
44b0f7b615
125 changed files with 28991 additions and 30602 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue