malcolm.parsons added a comment. In https://reviews.llvm.org/D27207#608433, @lukasza wrote:
> I think the above will work for my tool - thank you for providing the matcher > example (for some reason I incorrectly thought that desugaring would only be > done one step a time - this made me think that matching at an arbitrary depth > will require tricky things to build a recursive matcher out of a single-step > matcher). clang-tidy's modernize-use-auto check has a matcher that desugars one step at a time: https://reviews.llvm.org/diffusion/L/browse/clang-tools-extra/trunk/clang-tidy/modernize/UseAutoCheck.cpp;288204$69 https://reviews.llvm.org/D27207 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits