rsmith added inline comments.
================ Comment at: lib/Sema/SemaLookup.cpp:870-872 + auto *Ty = + dyn_cast<AutoType>(R.getLookupName().getCXXNameType()); + if (Ty && Ty->isUndeducedType()) ---------------- This is not sufficient to catch cases such as `operator auto*`, and one day there'll be concepts and potentially class template argument deduction here too. Use `Ty->getContainedDeducedType()` instead. https://reviews.llvm.org/D34370 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits