[PATCH] New ASTMatcher and enhancement to hasOverloadedOperatorName

Edwin Vane edwin.vane at intel.com
Tue Mar 5 11:25:11 PST 2013


Hi klimek,

Added a new narrowing matcher: hasMethod which aplies a matcher to a
CXXRecordDecl's methods until a match is made or there are no more
methods.

Enhanced hasOverloadedOperatorName to work on CXXOperatorCallExpr as
well as CXXMethodDecl.

Updated tests and docs.

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

Files:
  docs/LibASTMatchersReference.html
  include/clang/ASTMatchers/ASTMatchers.h
  include/clang/ASTMatchers/ASTMatchersInternal.h
  unittests/ASTMatchers/ASTMatchersTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D494.1.patch
Type: text/x-patch
Size: 9594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130305/62a4dbe7/attachment.bin>


More information about the cfe-commits mailing list