diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-10-01 05:05:06 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-10-01 05:07:54 -0700 |
commit | 9bab2a0dc84e7c3e14cb44fcd6ac41df079baa0f (patch) | |
tree | 84b7c7fba6fbb7d9534e06c768d8574318618a69 /gcc/tree-ssa-threadedge.c | |
parent | 026ca1121c2f4514494c10860ef3c49f18eccf9d (diff) | |
download | gcc-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