mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +08:00
Remove CPYCHECKER_RETURNS_BORROWED_REF
CPYCHECKER_RETURNS_BORROWED_REF is not used, and I think should never be used. This patch removes it. gdb/ChangeLog 2018-09-16 Tom Tromey <tom@tromey.com> * python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF): Remove.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2018-09-16 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF):
|
||||||
|
Remove.
|
||||||
|
|
||||||
2018-09-16 Tom Tromey <tom@tromey.com>
|
2018-09-16 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* python/python-internal.h (thread_to_thread_object): Change
|
* python/python-internal.h (thread_to_thread_object): Change
|
||||||
|
@ -27,14 +27,9 @@
|
|||||||
comes with the Python plugin for GCC. See:
|
comes with the Python plugin for GCC. See:
|
||||||
https://gcc-python-plugin.readthedocs.org/en/latest/cpychecker.html
|
https://gcc-python-plugin.readthedocs.org/en/latest/cpychecker.html
|
||||||
The checker defines a WITH_ macro for each attribute it
|
The checker defines a WITH_ macro for each attribute it
|
||||||
exposes. */
|
exposes. Note that we intentionally do not use
|
||||||
|
'cpychecker_returns_borrowed_ref' -- that idiom is forbidden in
|
||||||
#ifdef WITH_CPYCHECKER_RETURNS_BORROWED_REF_ATTRIBUTE
|
gdb. */
|
||||||
#define CPYCHECKER_RETURNS_BORROWED_REF \
|
|
||||||
__attribute__ ((cpychecker_returns_borrowed_ref))
|
|
||||||
#else
|
|
||||||
#define CPYCHECKER_RETURNS_BORROWED_REF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WITH_CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF_ATTRIBUTE
|
#ifdef WITH_CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF_ATTRIBUTE
|
||||||
#define CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF(ARG) \
|
#define CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF(ARG) \
|
||||||
|
Reference in New Issue
Block a user