JonasToth added a comment. > I don't think we want to modify `hasType()` -- that would strip off too much > type information if it automatically reached through to the underlying type. > However, we may want to consider adding something like `hasUnderlyingType()` > that checks the matcher against each level of type sugar. I'm not certain > this would be required for your patch, however.
Yes, an additional facility that does not care how the type got produced (auto, decltype, written, template, ...) and just finds all places with that type. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D48717 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits