diff options
author | Javed Absar <javed.absar@arm.com> | 2019-03-05 17:16:07 +0000 |
---|---|---|
committer | Javed Absar <javed.absar@arm.com> | 2019-03-05 17:16:07 +0000 |
commit | 34d3b80dbab7f89f5f59d506b8447af6cfe3379d (patch) | |
tree | e8eac091dd213f1f34d65dc2356866b308f03c60 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 05812b65db6dedaa6fa36926dd6a1d4793362f30 (diff) | |
download | bcm5719-llvm-34d3b80dbab7f89f5f59d506b8447af6cfe3379d.tar.gz bcm5719-llvm-34d3b80dbab7f89f5f59d506b8447af6cfe3379d.zip |
TableGen: Allow lists to be concatenated through '#'
Currently one can concatenate strings using hash(#),
but not lists, although that would be a natural thing to do.
This patch allows one to write something like:
def : A<!listconcat([1,2], [3,4])>;
simply as :
def : A<[1,2] # [3,4]>;
This was missing feature was highlighted by Nicolai
at FOSDEM talk.
Reviewed by: nhaehnle, hfinkel
Differential Revision: https://reviews.llvm.org/D58895
llvm-svn: 355414
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions