summaryrefslogtreecommitdiffstats
path: root/clang/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2019-05-17 14:23:33 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2019-05-17 14:23:33 +0000
commit8369a9beb7edbcebc0a07dd8155ac6e17f12ad93 (patch)
tree8353045ef1bde3c3f6e0ff0b63df1158695c3658 /clang/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp
parentf3a3b93f5453e4e07d449c1ed733c9ac8cfb4b58 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud