mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 19:06:02 +03:00
Hide legacy cmdline options -dip<N>
This commit is contained in:
parent
88f571f89a
commit
0530f08e9a
2 changed files with 6 additions and 8 deletions
|
@ -454,17 +454,18 @@ cl::opt<unsigned, true> nestedTemplateDepth(
|
||||||
cl::desc(
|
cl::desc(
|
||||||
"Set maximum number of nested template instantiations (experimental)"));
|
"Set maximum number of nested template instantiations (experimental)"));
|
||||||
|
|
||||||
|
// legacy options superseded by `-preview=dip<N>`
|
||||||
static cl::opt<bool, true>
|
static cl::opt<bool, true>
|
||||||
useDIP25("dip25", cl::ZeroOrMore, cl::location(global.params.useDIP25),
|
useDIP25("dip25", cl::ZeroOrMore, cl::location(global.params.useDIP25),
|
||||||
cl::desc("Implement DIP25 (sealed references)"));
|
cl::desc("Implement DIP25 (sealed references)"), cl::ReallyHidden);
|
||||||
|
|
||||||
static cl::opt<bool, true>
|
static cl::opt<bool, true>
|
||||||
useDIP1000("dip1000", cl::ZeroOrMore, cl::location(global.params.vsafe),
|
useDIP1000("dip1000", cl::ZeroOrMore, cl::location(global.params.vsafe),
|
||||||
cl::desc("Implement DIP1000 (scoped pointers)"));
|
cl::desc("Implement DIP1000 (scoped pointers)"),
|
||||||
|
cl::ReallyHidden);
|
||||||
static cl::opt<bool, true>
|
static cl::opt<bool, true>
|
||||||
useDIP1008("dip1008", cl::ZeroOrMore, cl::location(global.params.ehnogc),
|
useDIP1008("dip1008", cl::ZeroOrMore, cl::location(global.params.ehnogc),
|
||||||
cl::desc("Implement DIP1008 (@nogc Throwable)"));
|
cl::desc("Implement DIP1008 (@nogc Throwable)"),
|
||||||
|
cl::ReallyHidden);
|
||||||
|
|
||||||
cl::opt<bool, true> betterC(
|
cl::opt<bool, true> betterC(
|
||||||
"betterC", cl::ZeroOrMore, cl::location(global.params.betterC),
|
"betterC", cl::ZeroOrMore, cl::location(global.params.betterC),
|
||||||
|
|
|
@ -185,9 +185,6 @@ Where:\n\
|
||||||
-deps=<filename> write module dependencies to filename (only imports)\n\
|
-deps=<filename> write module dependencies to filename (only imports)\n\
|
||||||
-extern-std=<standard> set C++ name mangling compatibility with <standard>\n\
|
-extern-std=<standard> set C++ name mangling compatibility with <standard>\n\
|
||||||
-fPIC generate position independent code\n\
|
-fPIC generate position independent code\n\
|
||||||
-dip25 implement https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP25.md\n\
|
|
||||||
-dip1000 implement https://github.com/dlang/DIPs/blob/master/DIPs/DIP1000.md\n\
|
|
||||||
-dip1008 implement https://github.com/dlang/DIPs/blob/master/DIPs/DIP1008.md\n\
|
|
||||||
-g add symbolic debug info\n\
|
-g add symbolic debug info\n\
|
||||||
-gf emit debug info for all referenced types\n\
|
-gf emit debug info for all referenced types\n\
|
||||||
-gs always emit stack frame\n"
|
-gs always emit stack frame\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue