diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-08-13 12:31:29 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-08-13 12:31:29 +0000 |
commit | 42b957aad7b293eef34ed5c2da7ebde4fab997c9 (patch) | |
tree | 087c94cd0c25bfd949e3b4c937252e9a8fdb3356 /lldb/packages/Python/lldbsuite/test/expression_command/unicode-in-variable/TestUnicodeInVariable.py | |
parent | 2515640aee7725c29104ec3a60dae345a3dbdb07 (diff) | |
download | bcm5719-llvm-42b957aad7b293eef34ed5c2da7ebde4fab997c9.tar.gz bcm5719-llvm-42b957aad7b293eef34ed5c2da7ebde4fab997c9.zip |
[libTooling] In Transformer, generalize `applyFirst` to admit rules with incompatible matchers.
Summary:
This patch removes an (artificial) limitation of `applyFirst`, which requires
that all of the rules' matchers can be grouped together in a single `anyOf()`.
This change generalizes the code to group the matchers into separate `anyOf`s
based on compatibility. Correspondingly, `buildMatcher` is changed to
`buildMatchers`, to allow for returning a set of matchers rather than just one.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65877
llvm-svn: 368681
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/unicode-in-variable/TestUnicodeInVariable.py')
0 files changed, 0 insertions, 0 deletions