diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-01 21:51:26 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-01 21:51:26 +0000 |
commit | fe3d7d088063cdee3b6fc7eff83da868d289a67b (patch) | |
tree | d60ad76918e7902929b2308417255bb32f440d94 /clang/test/SemaTemplate/nested-name-spec-template.cpp | |
parent | 7182686dbfca9ee66a187e339438f1cf61346856 (diff) | |
download | bcm5719-llvm-fe3d7d088063cdee3b6fc7eff83da868d289a67b.tar.gz bcm5719-llvm-fe3d7d088063cdee3b6fc7eff83da868d289a67b.zip |
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<void>" 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
Diffstat (limited to 'clang/test/SemaTemplate/nested-name-spec-template.cpp')
-rw-r--r-- | clang/test/SemaTemplate/nested-name-spec-template.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>::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<typename T> struct TestA { |