alexfh added a subscriber: alexfh. ================ Comment at: include/clang/ASTMatchers/ASTMatchers.h:2440 @@ +2439,3 @@ + + return (UnderlyingDecl != nullptr && + InnerMatcher.matches(*UnderlyingDecl, Finder, Builder)); ---------------- nit: Parentheses are superfluous here.
================ Comment at: include/clang/ASTMatchers/ASTMatchers.h:2807 @@ +2806,3 @@ +/// \endcode +/// unresolvedLookupExpr(canReferToDecl(functionDecl())) +/// matches \c foo in \c foo(t); ---------------- Please add an `unresolvedLookupExpr` that this matcher doesn't match (maybe change the matcher to make it easier). https://reviews.llvm.org/D23004 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits