diff --git a/driver/cl_options.cpp b/driver/cl_options.cpp index 2307d9d495..37a4a23250 100644 --- a/driver/cl_options.cpp +++ b/driver/cl_options.cpp @@ -454,17 +454,18 @@ cl::opt nestedTemplateDepth( cl::desc( "Set maximum number of nested template instantiations (experimental)")); +// legacy options superseded by `-preview=dip` static cl::opt 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 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 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 betterC( "betterC", cl::ZeroOrMore, cl::location(global.params.betterC), diff --git a/driver/ldmd.cpp b/driver/ldmd.cpp index 1d92aa22d9..589928c2b0 100644 --- a/driver/ldmd.cpp +++ b/driver/ldmd.cpp @@ -185,9 +185,6 @@ Where:\n\ -deps= write module dependencies to filename (only imports)\n\ -extern-std= set C++ name mangling compatibility with \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\ -gf emit debug info for all referenced types\n\ -gs always emit stack frame\n"