summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2020-04-07 14:42:29 -0400
committerAaron Ballman <aaron@aaronballman.com>2020-04-07 14:43:38 -0400
commit86b5eabfeab164dcb680f6690e7718e3d21ceeb5 (patch)
tree673e8dd9e86c3c38e3ad9d9371f43a29ba441a41 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentf8b6529218f22ea112aabebe13d58cfef6a9c09a (diff)
Allow parameter names to be elided in a function definition in C.
WG14 has adopted N2480 (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2480.pdf) into C2x at the meetings last week, allowing parameter names of a function definition to be elided. This patch relaxes the error so that C++ and C2x do not diagnose this situation, and modes before C2x will allow it as an extension. This also adds the same feature to ObjC blocks under the assumption that ObjC wishes to follow the C standard in this regard.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions