aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-07-14 08:11:13 -0700
committerNathan Sidwell <nathan@acm.org>2020-07-14 08:20:38 -0700
commit4d4a0aa42322c84b472c299f4e33c0044650cc2e (patch)
tree9cd4708a575d275954fcde727770fd161dbceb4f /libcpp/include/cpplib.h
parent4f97bed9a7989e14cbb53e405fbd8b3c08aa75ec (diff)
downloadgcc-4d4a0aa42322c84b472c299f4e33c0044650cc2e.zip
gcc-4d4a0aa42322c84b472c299f4e33c0044650cc2e.tar.gz
gcc-4d4a0aa42322c84b472c299f4e33c0044650cc2e.tar.bz2
c++: Refactor some class fns
Storing CLASSTYPE_AS_BASE in a local variable makes some code clearer (and textually no longer). For some reason we store a DECL in a variable called 'value', which is confusing. gcc/cp/ * class.c (build_base_field_1): Cache CLASSTYPE_AS_BASE. (build_self_reference): Rename value -> decl. (dump_class_hierarchy_1): Cache CLASSTYPE_AS_BASE.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions