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 | bb5e431bf187a9f3cabb72045694fbaea414a702 (patch) | |
tree | 3974473db573a5084f498a88d6f924744da4a0c0 /lib/CodeGen/Mangle.cpp | |
parent | 0c8209e40b405fd32f047e95aafdc94054406a58 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
0 files changed, 0 insertions, 0 deletions