diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-07-14 08:11:13 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-07-14 08:20:38 -0700 |
commit | 4d4a0aa42322c84b472c299f4e33c0044650cc2e (patch) | |
tree | 9cd4708a575d275954fcde727770fd161dbceb4f /libcpp/include/cpplib.h | |
parent | 4f97bed9a7989e14cbb53e405fbd8b3c08aa75ec (diff) | |
download | gcc-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