1
0
mirror of https://github.com/python/cpython synced 2024-07-08 16:17:21 +00:00
cpython/Parser
Chenxi Mao 7703def37e
GH-102711: Fix warnings found by clang (#102712)
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.

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2023-03-28 10:52:22 +02:00
..
action_helpers.c gh-81057: Move the Cached Parser Dummy Name to _PyRuntimeState (#100277) 2022-12-16 13:48:03 +00:00
asdl_c.py gh-100227: Move _str_replace_inf to PyInterpreterState (gh-102333) 2023-02-28 14:16:39 -07:00
asdl.py
myreadline.c gh-102255: Improve build support for Windows API partitions (GH-102256) 2023-03-09 21:09:12 +00:00
parser.c gh-102416: Do not memoize incorrectly loop rules in the parser (#102467) 2023-03-06 14:41:53 +01:00
peg_api.c
pegen_errors.c gh-100050: Fix an assertion error when raising unclosed parenthesis errors in the tokenizer (GH-100065) 2022-12-06 15:09:56 -08:00
pegen.c GH-102711: Fix warnings found by clang (#102712) 2023-03-28 10:52:22 +02:00
pegen.h gh-100940: Change "char *str" to "const char *str" in KeywordToken: It is an immutable string. (#100936) 2023-01-18 21:02:48 +00:00
Python.asdl
string_parser.c gh-99300: Use Py_NewRef() in Parser/ directory (#99330) 2022-11-10 15:30:05 +01:00
string_parser.h
token.c gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00
tokenizer.c gh-99891: Fix infinite recursion in the tokenizer when showing warnings (GH-99893) 2022-11-30 03:36:06 -08:00
tokenizer.h gh-99891: Fix infinite recursion in the tokenizer when showing warnings (GH-99893) 2022-11-30 03:36:06 -08:00