From 0a2ee4099d9c964dadd097f829a9624164d98743 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Sun, 7 Jun 2020 21:58:49 +0200 Subject: 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. --- gcc/d/dmd/arrayop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/d/dmd/arrayop.c') 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; -- cgit v1.1