diff options
author | Jason Merrill <jason@redhat.com> | 2023-11-21 18:22:53 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2023-11-21 22:37:44 -0500 |
commit | f4c53580f3aba1343ca77756078722bb07f8118a (patch) | |
tree | 246aa8f10796b4f6349ac6c31063c9c9769b0a15 /lto-plugin | |
parent | 56ff988e6be3fdba70cad86d73ec0038bc3b6b5a (diff) | |
download | gcc-f4c53580f3aba1343ca77756078722bb07f8118a.zip gcc-f4c53580f3aba1343ca77756078722bb07f8118a.tar.gz gcc-f4c53580f3aba1343ca77756078722bb07f8118a.tar.bz2 |
c++: start_preparsed_function tweak
In review of the deducing 'this' patch, it came up that the logic in
start_preparsed_function around the ctype variable was convoluted, being
set for non-static member functions and friends, but not for static member
functions. Let's set it for any member function, and not rely on it to
decide whether to set up 'this'.
gcc/cp/ChangeLog:
* decl.cc (start_preparsed_function): Clarify ctype logic.
Diffstat (limited to 'lto-plugin')
0 files changed, 0 insertions, 0 deletions