diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-05-13 13:11:36 -0700 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:03:16 -0300 |
commit | 52de2499edbbeda89e5f4c05c9ae84525dd00a56 (patch) | |
tree | f9b75f3312d57f002d1024bbb7f0cd0f93651872 /gcc/tree-inline.c | |
parent | 8ec49600712251bfa31e2ce121ceb853ff9d03c2 (diff) | |
download | gcc-52de2499edbbeda89e5f4c05c9ae84525dd00a56.zip gcc-52de2499edbbeda89e5f4c05c9ae84525dd00a56.tar.gz gcc-52de2499edbbeda89e5f4c05c9ae84525dd00a56.tar.bz2 |
c++: Simplify canonical_type_parameter
Use a single vec_safe_grow_cleared, rather than that or a vec_alloc.
Use a for loop that returns early.
* pt.c (canonical_type_parameter): Simplify.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions