diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-07 21:58:49 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-08 00:10:11 +0200 |
commit | 0a2ee4099d9c964dadd097f829a9624164d98743 (patch) | |
tree | 49bd230244e89f9922e67fdfaf1a26bb401405d3 /gcc/d/dmd/arrayop.c | |
parent | f08995eefbf579acfe40f0204727d5ce388e3d0a (diff) | |
download | gcc-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/dmd/arrayop.c')
-rw-r--r-- | gcc/d/dmd/arrayop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/dmd/arrayop.c b/gcc/d/dmd/arrayop.c index 3beba9a..72abd5e 100644 --- a/gcc/d/dmd/arrayop.c +++ b/gcc/d/dmd/arrayop.c @@ -70,7 +70,7 @@ FuncDeclaration *buildArrayOp(Identifier *ident, BinExp *exp, Scope *sc) //printf("fd: %s %s\n", ident->toChars(), ftype->toChars()); FuncDeclaration *fd = new FuncDeclaration(Loc(), Loc(), ident, STCundefined, ftype); fd->fbody = fbody; - fd->protection = Prot(PROTpublic); + fd->protection = Prot(Prot::public_); fd->linkage = LINKc; fd->isArrayOp = 1; |