diff options
author | Marek Polacek <polacek@redhat.com> | 2020-09-10 19:18:34 -0400 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2020-09-11 11:17:03 -0400 |
commit | 13144466f11036585389a0dc5826bf23d53d5616 (patch) | |
tree | 9dfe7bd6076c341c2ab13bdabd9993bca8446ac0 /gcc/genautomata.c | |
parent | 29216f56d002982f10c33056f4b3d7f07e164122 (diff) | |
download | gcc-13144466f11036585389a0dc5826bf23d53d5616.zip gcc-13144466f11036585389a0dc5826bf23d53d5616.tar.gz gcc-13144466f11036585389a0dc5826bf23d53d5616.tar.bz2 |
c++: Remove LOOKUP_CONSTINIT.
Since we now have DECL_DECLARED_CONSTINIT_P, we no longer need
LOOKUP_CONSTINIT.
gcc/cp/ChangeLog:
* cp-tree.h (LOOKUP_CONSTINIT): Remove.
(LOOKUP_REWRITTEN): Adjust.
* decl.c (duplicate_decls): Set DECL_DECLARED_CONSTINIT_P.
(check_initializer): Use DECL_DECLARED_CONSTINIT_P instead of
LOOKUP_CONSTINIT.
(cp_finish_decl): Don't set DECL_DECLARED_CONSTINIT_P. Use
DECL_DECLARED_CONSTINIT_P instead of LOOKUP_CONSTINIT.
(grokdeclarator): Set DECL_DECLARED_CONSTINIT_P.
* decl2.c (grokfield): Don't handle LOOKUP_CONSTINIT.
* parser.c (cp_parser_decomposition_declaration): Remove
LOOKUP_CONSTINIT handling.
(cp_parser_init_declarator): Likewise.
* pt.c (tsubst_expr): Likewise.
(instantiate_decl): Likewise.
* typeck2.c (store_init_value): Use DECL_DECLARED_CONSTINIT_P instead
of LOOKUP_CONSTINIT.
Diffstat (limited to 'gcc/genautomata.c')
0 files changed, 0 insertions, 0 deletions