aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-05-13 13:03:12 -0700
committerNathan Sidwell <nathan@acm.org>2020-05-13 13:03:55 -0700
commit7e6a72cb2eba764e88fa8df1ae8b75827281c92b (patch)
tree4fc01dfe914068f961cae83c14abbfe904da8f15 /gcc/c
parentb04445d4a809eaf0460fd4f1f35b1a7d458c8c72 (diff)
downloadgcc-7e6a72cb2eba764e88fa8df1ae8b75827281c92b.zip
gcc-7e6a72cb2eba764e88fa8df1ae8b75827281c92b.tar.gz
gcc-7e6a72cb2eba764e88fa8df1ae8b75827281c92b.tar.bz2
c++: Formatting fixups & some simplifications.
A bunch of minor reformatting, simplifications or change to checking_asserts. * pt.c (spec_hash_table): New typedef. (decl_specializations, type_specializations): Use it. (retrieve_specialization): Likewise. (register_specialization): Remove unnecessary casts. (push_template_decl_real): Reformat. (instantiate_class_template_1): Use more RAII. (make_argument_pack): Simplify. (instantiate_template_1): Use gcc_checking_assert for expensive asserts. (instantiate_decl): Likewise. (resolve_typename_type): Reformat comment. * semantics.c (struct deferred_access): Remove unnecessary GTY on member. (begin_class_definition): Fix formatting.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions