You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
469 B
13 lines
469 B
--- a/llvm/tools/clang/lib/Sema/SemaTemplate.cpp
|
|
+++ b/llvm/tools/clang/lib/Sema/SemaTemplate.cpp
|
|
@@ -441,9 +441,6 @@ bool Sema::LookupTemplateName(LookupResult &Found,
|
|
IsDependent |= Found.wasNotFoundInCurrentInstantiation();
|
|
}
|
|
|
|
- if (Found.isAmbiguous())
|
|
- return false;
|
|
-
|
|
if (ATK && !SS.isSet() && ObjectType.isNull() && TemplateKWLoc.isInvalid()) {
|
|
// C++2a [temp.names]p2:
|
|
// A name is also considered to refer to a template if it is an
|