summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
diff options
context:
space:
mode:
authorFaisal Vali <faisalv@yahoo.com>2017-12-22 03:50:55 +0000
committerFaisal Vali <faisalv@yahoo.com>2017-12-22 03:50:55 +0000
commita223d1c856dbab543ecf52a69071ab57f2c0ee1c (patch)
tree0ae3a1566e1e230a3ef37989ccdf7902be053288 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
parent16b386de15782a086778a4a66447058310483713 (diff)
downloadbcm5719-llvm-a223d1c856dbab543ecf52a69071ab57f2c0ee1c.tar.gz
bcm5719-llvm-a223d1c856dbab543ecf52a69071ab57f2c0ee1c.zip
Diagnose the various invalid decl-specifiers on nontype template parameters.
The standard correctly forbids various decl-specifiers that dont make sense on non-type template parameters - such as the extern in: template<extern int> struct X; This patch implements those restrictions (in a fashion similar to the corresponding checks on function parameters within ActOnParamDeclarator). Credit goes to miyuki (Mikhail Maltsev) for drawing attention to this issue, authoring the initial versions of this patch, and supporting the effort to re-engineer it slightly. Thank you! For details of how this patch evolved please see: https://reviews.llvm.org/D40705 llvm-svn: 321339
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud