Commit Graph

3 Commits

Author SHA1 Message Date
Serge Pavlov 7468eda520 Update error message text.
Previously if an enumeration was used in a nested name specifier in pre-C++11
language dialect, error message was 'XXX is not a class, namespace, or scoped
enumeration'. This patch removes the word 'scoped' as in C++11 any enumeration
may be used in this context.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226410 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-18 19:05:48 +00:00
Alexey Bataev 87f89f4b3b Bugfix in template instantiation in CXXPseudoDestructorExpr.
Fix for clang crash when instantiating a template with qualified lookup for members in non-class types.
Differential Revision: http://reviews.llvm.org/D5769


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219897 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-16 03:04:35 +00:00
Douglas Gregor b4eeaff159 When we encounter a non-dependent type during template instantiation,
mark any declarations we see inside of that type as
"referenced". Fixes PR7079.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103323 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-07 23:12:07 +00:00