lg
================
Comment at: include/clang/ASTMatchers/ASTMatchersInternal.h:673
@@ -672,3 +672,3 @@
BindKind Bind) {
TOOLING_COMPILE_ASSERT(
(llvm::is_base_of<Decl, T>::value ||
----------------
Samuel Benzaquen wrote:
> Manuel Klimek wrote:
> > This looks like it accepts more types?
> The child traversal methods (matchesChildOf/matchesDescendantOf) accept 6
> types, which are the ones listed in AdaptativeDefaultToTypes.
> The parent traversal methods (matchesAncestorOf) accept only 2 types, Decl
> and Stmt, which I listed directly in hasParent/hasAncestor.
Ah, I was confused here (I thought we had already implemented more options for
ancestor matchers). Sorry for the noise.
http://llvm-reviews.chandlerc.com/D1201
BRANCH
adaptative
ARCANIST PROJECT
clang
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits