diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-07 16:37:25 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-07 16:39:39 +0200 |
commit | 761306fc5e60b1af1f7d0cc076da772a6c821cac (patch) | |
tree | 043f252a3fda44a67b6c1927fb1083e89c16a9a1 /gcc/d/dmd/globals.h | |
parent | b342cfd648e6658363c7c8fef83af8f59dba1795 (diff) | |
download | gcc-761306fc5e60b1af1f7d0cc076da772a6c821cac.zip gcc-761306fc5e60b1af1f7d0cc076da772a6c821cac.tar.gz gcc-761306fc5e60b1af1f7d0cc076da772a6c821cac.tar.bz2 |
d: Merge upstream dmd 1831b24ff.
Converts some global and param fields from pointers to value types.
Reviewed-on: https://github.com/dlang/dmd/pull/11245
gcc/d/ChangeLog:
* dmd/MERGE: Merge upstream dmd 1831b24ff.
* d-lang.cc (d_init_options): Remove initialization of updated fields.
(d_handle_option): Adjust for new field types.
Diffstat (limited to 'gcc/d/dmd/globals.h')
-rw-r--r-- | gcc/d/dmd/globals.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/d/dmd/globals.h b/gcc/d/dmd/globals.h index 5b5aac3..8a2ffdc 100644 --- a/gcc/d/dmd/globals.h +++ b/gcc/d/dmd/globals.h @@ -145,7 +145,7 @@ struct Param CHECKACTION checkAction; // action to take when bounds, asserts or switch defaults are violated DString argv0; // program name - Array<const char *> *modFileAliasStrings; // array of char*'s of -I module filename alias strings + Array<const char *> modFileAliasStrings; // array of char*'s of -I module filename alias strings Array<const char *> *imppath; // array of char*'s of where to look for import modules Array<const char *> *fileImppath; // array of char*'s of where to look for file import modules DString objdir; // .obj/.lib file output directory @@ -155,7 +155,7 @@ struct Param bool doDocComments; // process embedded documentation comments DString docdir; // write documentation file to docdir directory DString docname; // write documentation file to docname - Array<const char *> *ddocfiles; // macro include files for Ddoc + Array<const char *> ddocfiles; // macro include files for Ddoc bool doHdrGeneration; // process embedded documentation comments DString hdrdir; // write 'header' file to docdir directory @@ -190,10 +190,10 @@ struct Param Strings runargs; // arguments for executable // Linker stuff - Array<const char *> *objfiles; - Array<const char *> *linkswitches; - Array<const char *> *libfiles; - Array<const char *> *dllfiles; + Array<const char *> objfiles; + Array<const char *> linkswitches; + Array<const char *> libfiles; + Array<const char *> dllfiles; DString deffile; DString resfile; DString exefile; |