From fe3d7d088063cdee3b6fc7eff83da868d289a67b Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 1 Apr 2009 21:51:26 +0000 Subject: Make parsing a semantic analysis a little more robust following Sema failures that involve malformed types, e.g., "typename X::foo" where "foo" isn't a type, or "std::vector" that doens't instantiate properly. Similarly, be a bit smarter in our handling of ambiguities that occur in Sema::getTypeName, to eliminate duplicate error messages about ambiguous name lookup. This eliminates two XFAILs in test/SemaCXX, one of which was crying out to us, trying to tell us that we were producing repeated error messages. llvm-svn: 68251 --- clang/test/SemaTemplate/nested-name-spec-template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaTemplate/nested-name-spec-template.cpp') diff --git a/clang/test/SemaTemplate/nested-name-spec-template.cpp b/clang/test/SemaTemplate/nested-name-spec-template.cpp index 6df2ca6a918..7805040048f 100644 --- a/clang/test/SemaTemplate/nested-name-spec-template.cpp +++ b/clang/test/SemaTemplate/nested-name-spec-template.cpp @@ -52,7 +52,7 @@ struct ::N::A::X { #if 0 // FIXME: the following crashes the parser, because Sema has no way to -// community that the "dependent" template-name N::template B doesn't +// communicate that the "dependent" template-name N::template B doesn't // actually refer to a template. template struct TestA { -- cgit v1.2.3