aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadedge.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-10-01 05:05:06 -0700
committerNathan Sidwell <nathan@acm.org>2020-10-01 05:07:54 -0700
commit9bab2a0dc84e7c3e14cb44fcd6ac41df079baa0f (patch)
tree84b7c7fba6fbb7d9534e06c768d8574318618a69 /gcc/tree-ssa-threadedge.c
parent026ca1121c2f4514494c10860ef3c49f18eccf9d (diff)
downloadgcc-9bab2a0dc84e7c3e14cb44fcd6ac41df079baa0f.zip
gcc-9bab2a0dc84e7c3e14cb44fcd6ac41df079baa0f.tar.gz
gcc-9bab2a0dc84e7c3e14cb44fcd6ac41df079baa0f.tar.bz2
c++: Refactor lookup_and_check_tag
It turns out I'd already found lookup_and_check_tag's control flow confusing, and had refactored it on the modules branch. For instance, it continually checks 'if (decl &&$ condition)' before finally getting to 'else if (!decl)'. why not just check !decl first and be done? Well, it is done thusly. gcc/cp/ * decl.c (lookup_and_check_tag): Refactor.
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
0 files changed, 0 insertions, 0 deletions