aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2023-10-20 12:22:44 -0400
committerJason Merrill <jason@redhat.com>2023-10-25 11:02:31 -0400
commit406709b1c7b134a7a05445837f406e98c04f76f0 (patch)
treed5b4ea97c460c0f7e4d1fa4faf69c41bb97b0388 /gcc/expr.cc
parent678e6c328c77db383431751bcfcf867b02369bd6 (diff)
downloadgcc-406709b1c7b134a7a05445837f406e98c04f76f0.zip
gcc-406709b1c7b134a7a05445837f406e98c04f76f0.tar.gz
gcc-406709b1c7b134a7a05445837f406e98c04f76f0.tar.bz2
c++: improve comment
It's incorrect to say that the address of an OFFSET_REF is always a pointer-to-member; if it represents an overload set with both static and non-static member functions that ends up resolving to a static one, the address is a normal pointer. And let's go ahead and mention explicit object member functions even though the patch hasn't landed yet. gcc/cp/ChangeLog: * cp-tree.def: Improve OFFSET_REF comment. * cp-gimplify.cc (cp_fold_immediate): Add to comment.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions