aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/access.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-06-09 18:56:52 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-06-09 19:00:35 +0200
commit98866120092edfd7d5a7ae008db960dae8ab1523 (patch)
tree5f8f01e69a689ae4b8d2ff66d380767a30806c8f /gcc/d/dmd/access.c
parentef41587df9839d1dfc77dbc48a0830e42b36626e (diff)
downloadgcc-98866120092edfd7d5a7ae008db960dae8ab1523.zip
gcc-98866120092edfd7d5a7ae008db960dae8ab1523.tar.gz
gcc-98866120092edfd7d5a7ae008db960dae8ab1523.tar.bz2
d: Merge upstream dmd 13d67c575.
Reviewed-on: https://github.com/dlang/dmd/pull/11224 gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd 13d67c575. * d-builtins.cc (build_frontend_type): Update call to TypeVector::create. * d-frontend.cc (Global::_init): Move setting of errorLimit to ... * d-lang.cc (d_init_options): ... here. Update for new field location of errorLimit. (d_post_options): Likewise. * d-port.cc (Port::readwordLE): Update signature. (Port::readwordBE): Likewise. (Port::readlongLE): Likewise. (Port::readlongBE): Likewise. * decl.cc (get_symbol_decl): Update for new field types.
Diffstat (limited to 'gcc/d/dmd/access.c')
-rw-r--r--gcc/d/dmd/access.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/d/dmd/access.c b/gcc/d/dmd/access.c
index f79eaeb..1a7238a 100644
--- a/gcc/d/dmd/access.c
+++ b/gcc/d/dmd/access.c
@@ -434,6 +434,7 @@ bool symbolIsVisible(Module *mod, Dsymbol *s)
default:
assert(0);
}
+ return false;
}
/**
@@ -475,6 +476,7 @@ bool symbolIsVisible(Scope *sc, Dsymbol *s)
default:
assert(0);
}
+ return false;
}
/**