[all-commits] [llvm/llvm-project] e5b320: [libTooling] In Clang Transformer, change `Metadat...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Tue Jul 21 11:07:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e5b3202b6f9484590c9e70b8bb82d2778d1ca4fe
      https://github.com/llvm/llvm-project/commit/e5b3202b6f9484590c9e70b8bb82d2778d1ca4fe
  Author: Andy Soffer <asoffer>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

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

  Log Message:
  -----------
  [libTooling] In Clang Transformer, change `Metadata` field to deferred evaluation.

`Metadata` is being changed from an `llvm::Any` to a `MatchConsumer<llvm::Any>`
so that it's evaluation can be be dependent on on `MatchResult`s passed in.

Reviewed By: ymandel, gribozavr2

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




More information about the All-commits mailing list