[PATCH] Refactor Matcher<T> and DynTypedMatcher to reduce overhead of casts.

Samuel Benzaquen sbenza at google.com
Tue Sep 30 09:51:57 PDT 2014


Rename DynMatcherInterface::matches() to DynMatcherInterface::dynMatches() to prevent warnings from -Woverloaded-virtual.

http://reviews.llvm.org/D5542

Files:
  include/clang/AST/ASTTypeTraits.h
  include/clang/ASTMatchers/ASTMatchersInternal.h
  lib/ASTMatchers/ASTMatchFinder.cpp
  lib/ASTMatchers/ASTMatchersInternal.cpp
  unittests/ASTMatchers/ASTMatchersTest.cpp
  unittests/ASTMatchers/Dynamic/ParserTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5542.14234.patch
Type: text/x-patch
Size: 29389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140930/eeef36c9/attachment.bin>


More information about the cfe-commits mailing list