[PATCH] Refactor VariantMatcher to use an interface underneath.

Samuel Benzaquen sbenza at google.com
Thu Aug 22 07:06:44 PDT 2013


  Made the Payload be ref counted. They are const by design, so there is no problem sharing them.
  This change reduces copies and simplifies the implementation of VariantMatcher.

Hi klimek,

http://llvm-reviews.chandlerc.com/D1446

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1446?vs=3630&id=3671#toc

BRANCH
  variant_matcher

ARCANIST PROJECT
  clang

Files:
  include/clang/ASTMatchers/Dynamic/VariantValue.h
  lib/ASTMatchers/Dynamic/VariantValue.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1446.4.patch
Type: text/x-patch
Size: 10144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130822/b8ce4df4/attachment.bin>


More information about the cfe-commits mailing list