aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/globals.h
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-01-11 10:53:18 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2021-01-11 12:21:03 +0100
commit928e96bbe98bafff18f11a7351cf89592967b061 (patch)
treed6a7b3082fec5da6bb9465ab4050a3470d18ab60 /gcc/d/dmd/globals.h
parent300a3ce5c5695eb1a7c0476e9d1b45420a463248 (diff)
downloadgcc-928e96bbe98bafff18f11a7351cf89592967b061.zip
gcc-928e96bbe98bafff18f11a7351cf89592967b061.tar.gz
gcc-928e96bbe98bafff18f11a7351cf89592967b061.tar.bz2
d: Remove visibility and lookup deprecation
The deprecation phase for access checks is finished. The `-ftransition=import` and `-ftransition=checkimports` switches no longer have an effect and are now removed. Symbols that are not visible in a particular scope will no longer be found by the compiler. Reviewed-on: https://github.com/dlang/dmd/pull/12124 gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd 2d3d13748. * d-lang.cc (d_handle_option): Remove OPT_ftransition_checkimports and OPT_ftransition_import. * gdc.texi (Warnings): Remove documentation for -ftransition=import and -ftransition=checkimports. * lang.opt (ftransition=checkimports): Remove. (ftransition=import): Remove.
Diffstat (limited to 'gcc/d/dmd/globals.h')
-rw-r--r--gcc/d/dmd/globals.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/d/dmd/globals.h b/gcc/d/dmd/globals.h
index 502bae2..6e65d86 100644
--- a/gcc/d/dmd/globals.h
+++ b/gcc/d/dmd/globals.h
@@ -126,8 +126,6 @@ struct Param
bool betterC; // be a "better C" compiler; no dependency on D runtime
bool addMain; // add a default main() function
bool allInst; // generate code for all template instantiations
- bool check10378; // check for issues transitioning to 10738
- bool bug10378; // use pre-bugzilla 10378 search strategy
bool vsafe; // use enhanced @safe checking
unsigned cplusplus; // version of C++ name mangling to support
bool showGaggedErrors; // print gagged errors anyway