0
0
mirror of https://github.com/python/cpython.git synced 2024-11-21 21:09:37 +01:00
cpython/Parser
Miss Islington (bot) aae84a0e84
[3.10] GH-102711: Fix warnings found by clang (GH-102712) (#103076)
There are some warnings if build python via clang:

Parser/pegen.c:812:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
_PyPegen_clear_memo_statistics()
                              ^
                               void

Parser/pegen.c:820:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
_PyPegen_get_memo_statistics()
                            ^
                             void

Fix it to make clang happy.

(cherry picked from commit 7703def37e)

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
Co-authored-by: Chenxi Mao <chenxi.mao@suse.com>
2023-03-28 11:27:41 +02:00
..
asdl_c.py
asdl.py
myreadline.c
parser.c [3.10] gh-102416: Do not memoize incorrectly loop rules in the parser (GH-102467). (#102474) 2023-03-06 16:59:16 +00:00
peg_api.c
pegen.c [3.10] GH-102711: Fix warnings found by clang (GH-102712) (#103076) 2023-03-28 11:27:41 +02:00
pegen.h [3.10] Backport bpo-47212 (GH-32302) to Python 3.10 (GH-32334) 2022-04-05 09:21:49 -07:00
Python.asdl bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467) 2022-01-07 14:30:18 -08:00
string_parser.c gh-94869: Fix the location in some expressions for multi-line f-string ast nodes (GH-94895) (#94911) 2022-07-16 22:06:33 +01:00
string_parser.h
token.c
tokenizer.c [3.10] gh-99581: Fix a buffer overflow in the tokenizer when copying lines that fill the available buffer (GH-99605). (#99630) 2022-11-20 22:30:15 +00:00
tokenizer.h