From 1f476a1783d95d9b53b10f763789e8afeded42f3 Mon Sep 17 00:00:00 2001 From: John McCall Date: Fri, 26 Feb 2010 08:45:28 +0000 Subject: Fix an assertion-on-error during tentative constructor parsing by propagating error conditions out of the various annotate-me-a-snowflake routines. Generally (but not universally) removes redundant diagnostics as well as, you know, not crashing on bad code. On the other hand, I have just signed myself up to fix fiddly parser errors for the next week. Again. llvm-svn: 97221 --- clang/test/SemaTemplate/explicit-specialization-member.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaTemplate/explicit-specialization-member.cpp') diff --git a/clang/test/SemaTemplate/explicit-specialization-member.cpp b/clang/test/SemaTemplate/explicit-specialization-member.cpp index 417cdc1f198..cb0a39a9d0c 100644 --- a/clang/test/SemaTemplate/explicit-specialization-member.cpp +++ b/clang/test/SemaTemplate/explicit-specialization-member.cpp @@ -16,7 +16,7 @@ namespace PR6161 { // expected-error{{expected class name}} \ // expected-note{{attempt to specialize declaration here}} { - static locale::id id; // expected-error{{use of undeclared identifier}} + static locale::id id; // expected-error{{use of undeclared identifier}} FIXME: expected-error {{unknown type name}} }; numpunct::~numpunct(); // expected-error{{template specialization requires 'template<>'}} \ // expected-error{{specialization of member 'PR6161::numpunct::~numpunct' does not specialize an instantiated member}} -- cgit v1.2.3