================
@@ -367,12 +367,6 @@ bool RedeclarableTemplateDecl::loadLazySpecializationsImpl(
   if (!ExternalSource)
     return false;
 
-  // If TPL is not null, it implies that we're loading specializations for
-  // partial templates. We need to load all specializations in such cases.
-  if (TPL)
----------------
emaxx-google wrote:

Unfortunately the error in Google3 doesn't go away after reverting 
https://github.com/llvm/llvm-project/commit/48f50c7385d79da320cdf52d3aabc83cc403ff9c.

The failures do happen on overloaded template functions. Actually we can 
disclose some of the information about the failing line - where the STL and 
Abseil are involved:

```c++
std::vector<absl::string_view>& x = some_vector_of_views;
x = absl::StrSplit(another_vector_of_views, 'y');  // <--- triggers "use of 
overloaded operator '=' is ambiguous"
```

Hopefully it's helpful, although this snippet looks very simple, and the root 
cause probably sits elsewhere.

https://github.com/llvm/llvm-project/pull/133057
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to