[PATCH] D34370: Fix for Bug 33471: Preventing operator auto from resolving to a template operator.

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 09:33:03 PDT 2017


erichkeane added inline comments.


================
Comment at: lib/Sema/SemaLookup.cpp:870
+          DeclarationName::CXXConversionFunctionName &&
+      R.getLookupName().getCXXNameType()->getContainedDeducedType() &&
+      R.getLookupName()
----------------
rsmith wrote:
> Maybe only call this once?
Sure, I'll extract this into a variable above the if statement before committing.


https://reviews.llvm.org/D34370





More information about the cfe-commits mailing list