diff options
author | Stephen Kelly <steveire@gmail.com> | 2019-01-11 19:11:17 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2019-01-11 19:11:17 +0000 |
commit | 0df805db731fa1384c36f18a50b4ec35cbf368f4 (patch) | |
tree | ab903a3323209fd202018a1913f0f0c47f54334d /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 27ba55914addfd55c9b6e5fa73aae51246424ef2 (diff) | |
download | bcm5719-llvm-0df805db731fa1384c36f18a50b4ec35cbf368f4.tar.gz bcm5719-llvm-0df805db731fa1384c36f18a50b4ec35cbf368f4.zip |
[ASTDump] Add utility for dumping a label with child nodes
Summary:
Use it to add optional label nodes to Stmt dumps. This preserves
behavior of InitExprList dump:
// CHECK-NEXT: `-InitListExpr {{.+}} <col:13, col:15> 'U [3]'
// CHECK-NEXT: |-array_filler: InitListExpr {{.+}} <col:15> 'U' field Field {{.+}} 'i' 'int'
// CHECK-NEXT: `-InitListExpr {{.+}} <col:14> 'U' field Field {{.+}} 'i' 'int'
// CHECK-NEXT: `-IntegerLiteral {{.+}} <col:14> 'int' 1
Reviewers: aaron.ballman
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D55488
llvm-svn: 350957
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions