diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-12 21:12:00 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-16 15:37:00 -0500 |
commit | 830070c66d25e6749b7159009f1d87d85f02eaa3 (patch) | |
tree | 124d4d830112e4ffb121b3cefa4e1f2335fcd259 /include/ChangeLog | |
parent | 8579fd136a614985bd27f20539c7bb7c5a51287d (diff) | |
download | fsf-binutils-gdb-830070c66d25e6749b7159009f1d87d85f02eaa3.zip fsf-binutils-gdb-830070c66d25e6749b7159009f1d87d85f02eaa3.tar.gz fsf-binutils-gdb-830070c66d25e6749b7159009f1d87d85f02eaa3.tar.bz2 |
gdbsupport: remove FUNCTION_NAME
__func__ is standard C++11:
https://en.cppreference.com/w/cpp/language/function
Also, in C++11, __func__ expands to the demangled function name, so the
mention in the comment above FUNCTION_NAME doesn't apply anymore.
Finally, in places where FUNCTION_NAME is used, I think it's enough to
print the function name, no need to print the whole signature.
Therefore, I propose to just remove FUNCTION_NAME and update users to
use the standard __func__.
Change-Id: I778f28155422b044402442dc18d42d0cded1017d
Diffstat (limited to 'include/ChangeLog')
0 files changed, 0 insertions, 0 deletions