aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-05-13 13:11:36 -0700
committerNathan Sidwell <nathan@acm.org>2020-05-13 13:11:36 -0700
commit833c7b4b5ef071bc3c5c79108baff55f2bcaaac3 (patch)
tree0c49b9f6880d5b7422120645c1d2dd8e307bfab0 /gcc/c/c-parser.c
parent7e6a72cb2eba764e88fa8df1ae8b75827281c92b (diff)
downloadgcc-833c7b4b5ef071bc3c5c79108baff55f2bcaaac3.zip
gcc-833c7b4b5ef071bc3c5c79108baff55f2bcaaac3.tar.gz
gcc-833c7b4b5ef071bc3c5c79108baff55f2bcaaac3.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/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions