"using declaration requires a qualified name">;
def err_using_typename_non_type : Error<
"'typename' keyword used on a non-type">;
+def err_using_dependent_unsupported : Error<
+ "dependent using declaration not supported yet">;
def err_invalid_thread : Error<
"'__thread' is only allowed on variable declarations">;
Name = TargetName;
else
Name = Context.DeclarationNames.getCXXOperatorName(Op);
-
+
+ // FIXME: Implement this properly!
+ if (isUnknownSpecialization(SS)) {
+ Diag(IdentLoc, diag::err_using_dependent_unsupported);
+ delete AttrList;
+ return DeclPtrTy::make((UsingDecl*)0);
+ }
+
// Lookup target name.
LookupResult R = LookupParsedName(S, &SS, Name, LookupOrdinaryName, false);