diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-31 23:17:41 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-31 23:17:41 +0000 |
commit | f5af3584cab155ba4da7957a018098b3765b4641 (patch) | |
tree | 6320a516cde15b57a5af88ca0b73ff2d3ed66725 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 7f89a0ac88d24054119003503f58a7bbe8749877 (diff) | |
download | bcm5719-llvm-f5af3584cab155ba4da7957a018098b3765b4641.tar.gz bcm5719-llvm-f5af3584cab155ba4da7957a018098b3765b4641.zip |
Improve diagnostics when an elaborated-type-specifer containing a
nested-name-specifier (e.g., "class T::foo") fails to find a tag
member in the scope nominated by the
nested-name-specifier. Previously, we gave a bland
error: 'Nested' does not name a tag member in the specified scope
which didn't actually say where we were looking, which was rather
horrible when the nested-name-specifier was instantiated. Now, we give
something a bit better:
error: no class named 'Nested' in 'NoDepBase<T>'
llvm-svn: 100060
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions