aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-05-14 07:20:35 -0700
committerNathan Sidwell <nathan@acm.org>2020-05-14 07:20:35 -0700
commitea5a33d4536ce2af90255782bda0ada632952205 (patch)
tree4aba278f3d3a36bd48a5cc3f7a03382cc54343b9 /libgcc
parent5adbd0907563f494b602b9f38283d29c7b029bdf (diff)
downloadgcc-ea5a33d4536ce2af90255782bda0ada632952205.zip
gcc-ea5a33d4536ce2af90255782bda0ada632952205.tar.gz
gcc-ea5a33d4536ce2af90255782bda0ada632952205.tar.bz2
c++: simplify lookup_template_class_1
We were checking TYPE_NAME and then copying it if not null. Just copy it, and then see if we got null. * pt.c (lookup_template_class_1): Remove unnecessary else by simply grabbing TYPE_NAME earlier.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions