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
..
Python.asdl bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467) 2022-01-07 13:05:28 -08:00
action_helpers.c gh-81057: Move the Cached Parser Dummy Name to _PyRuntimeState (#100277) 2022-12-16 13:48:03 +00:00
asdl.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) 2021-04-02 12:53:46 +09:00
asdl_c.py gh-100227: Move _str_replace_inf to PyInterpreterState (gh-102333) 2023-02-28 14:16:39 -07:00
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 bpo-43244: Remove parser_interface.h header file (GH-25001) 2021-03-24 01:29:09 +01: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
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
string_parser.c gh-99300: Use Py_NewRef() in Parser/ directory (#99330) 2022-11-10 15:30:05 +01:00
string_parser.h bpo-43244: Remove ast.h, asdl.h, Python-ast.h headers (GH-24933) 2021-03-23 20:47:40 +01:00
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