mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00
Added '-Hkeep-all-bodies' switch.
The same behavior is triggered by the '-inline' switch for DMD, but this doesn't quite translate to LDC.
This commit is contained in:
parent
82ba7fe548
commit
32eb24eebf
4 changed files with 28 additions and 3 deletions
|
@ -187,6 +187,10 @@ cl::opt<std::string> hdrFile("Hf",
|
|||
cl::value_desc("filename"),
|
||||
cl::Prefix);
|
||||
|
||||
static cl::opt<bool, true> hdrKeepAllBodies("Hkeep-all-bodies",
|
||||
cl::desc("Keep all function bodies in .di files"),
|
||||
cl::ZeroOrMore,
|
||||
cl::location(global.params.hdrKeepAllBodies));
|
||||
|
||||
static cl::opt<bool, true> unittest("unittest",
|
||||
cl::desc("Compile in unit tests"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue