diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-04 03:18:57 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-04 03:18:57 +0000 |
commit | 9a94d9b876acd67f4476cecc5f26fd6c9f39b4b8 (patch) | |
tree | 6ff72409949e5f5ddefe1b2ce5f93c2d689cdc1b /clang/test/CodeGenCXX/mangle.cpp | |
parent | a95069c52fb4a4e7492252b8cbb8765e621d485c (diff) | |
download | bcm5719-llvm-9a94d9b876acd67f4476cecc5f26fd6c9f39b4b8.tar.gz bcm5719-llvm-9a94d9b876acd67f4476cecc5f26fd6c9f39b4b8.zip |
Don't instantiate members not belonging in the semantic context of the template.
e.g. for:
template <int i> class A {
class B *g;
};
'class B' has the template as lexical context but semantically it is
introduced in namespace scope.
Fixes rdar://8611125 & http://llvm.org/PR8505
llvm-svn: 118235
Diffstat (limited to 'clang/test/CodeGenCXX/mangle.cpp')
0 files changed, 0 insertions, 0 deletions