[all-commits] [llvm/llvm-project] 6f0a37: [libTooling] Restore defaults for matchers in make...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Wed Sep 2 12:37:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f0a3711bc15f8b50ad56d64eee70d9ba62f70c6
      https://github.com/llvm/llvm-project/commit/6f0a3711bc15f8b50ad56d64eee70d9ba62f70c6
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M clang/lib/Tooling/Transformer/RewriteRule.cpp
    M clang/unittests/Tooling/TransformerTest.cpp

  Log Message:
  -----------
  [libTooling] Restore defaults for matchers in makeRule.

This patch restores the default traversal for Transformer's `makeRule` to
`TK_AsIs`. The implicit mode has proven problematic.

Differential Revision: https://reviews.llvm.org/D87048




More information about the All-commits mailing list