diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-05-13 13:03:12 -0700 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:03:16 -0300 |
commit | 8ec49600712251bfa31e2ce121ceb853ff9d03c2 (patch) | |
tree | 21d7e40ceae3fb4ec1756b6df70b8416693dad12 /gcc/tree-inline.c | |
parent | 86ebd148e1fbf91ebdec3fd5f16fdeffb7dec1f1 (diff) | |
download | gcc-8ec49600712251bfa31e2ce121ceb853ff9d03c2.zip gcc-8ec49600712251bfa31e2ce121ceb853ff9d03c2.tar.gz gcc-8ec49600712251bfa31e2ce121ceb853ff9d03c2.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/tree-inline.c')
0 files changed, 0 insertions, 0 deletions