aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/modules.cc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-06-07 21:58:49 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-06-08 00:10:11 +0200
commit0a2ee4099d9c964dadd097f829a9624164d98743 (patch)
tree49bd230244e89f9922e67fdfaf1a26bb401405d3 /gcc/d/modules.cc
parentf08995eefbf579acfe40f0204727d5ce388e3d0a (diff)
downloadgcc-0a2ee4099d9c964dadd097f829a9624164d98743.zip
gcc-0a2ee4099d9c964dadd097f829a9624164d98743.tar.gz
gcc-0a2ee4099d9c964dadd097f829a9624164d98743.tar.bz2
d: Merge upstream dmd 73d8e2fec.
Renames the enum PROTKIND to Prot::Kind, updates all uses of the original enum accordingly. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd 73d8e2fec. * decl.cc (get_symbol_decl): Use new Prot::Kind enum. * modules.cc (get_internal_fn): Likewise.
Diffstat (limited to 'gcc/d/modules.cc')
-rw-r--r--gcc/d/modules.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/modules.cc b/gcc/d/modules.cc
index 0ff4163..79f42c6 100644
--- a/gcc/d/modules.cc
+++ b/gcc/d/modules.cc
@@ -147,7 +147,7 @@ get_internal_fn (tree ident)
Identifier::idPool (name));
fd->loc = Loc (mod->srcfile->toChars (), 1, 0);
fd->parent = mod;
- fd->protection.kind = PROTprivate;
+ fd->protection.kind = Prot::private_;
fd->semanticRun = PASSsemantic3done;
return fd;