diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-05-17 14:23:33 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-05-17 14:23:33 +0000 |
commit | 8369a9beb7edbcebc0a07dd8155ac6e17f12ad93 (patch) | |
tree | 8353045ef1bde3c3f6e0ff0b63df1158695c3658 /clang/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp | |
parent | f3a3b93f5453e4e07d449c1ed733c9ac8cfb4b58 (diff) | |
download | bcm5719-llvm-8369a9beb7edbcebc0a07dd8155ac6e17f12ad93.tar.gz bcm5719-llvm-8369a9beb7edbcebc0a07dd8155ac6e17f12ad93.zip |
[LibTooling] Add support to Transformer for composing rules as an ordered choice.
This revision updates `RewriteRule` to support multiple subrules that are
interpreted as an ordered-choice (apply the first one that matches). With this
feature, users can write the rules that appear later in the list of subrules
knowing that previous rules' patterns *have not matched*, freeing them from
reasoning about those cases in the current pattern.
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61335
llvm-svn: 361037
Diffstat (limited to 'clang/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp')
0 files changed, 0 insertions, 0 deletions