diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-11 01:59:57 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-11 01:59:57 +0000 |
commit | e378948c8a426743f472ec12f48aea7504f7537a (patch) | |
tree | bc89e6d2e1f91f204f7d0f1fda78337f1d557159 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | d4a7c123f3cbb3f3b03e703aa8c855f8f6ec43c2 (diff) | |
download | llvm-e378948c8a426743f472ec12f48aea7504f7537a.zip llvm-e378948c8a426743f472ec12f48aea7504f7537a.tar.gz llvm-e378948c8a426743f472ec12f48aea7504f7537a.tar.bz2 |
For class template implicit instantiation, also update its location to point
to the pattern template that it came from, otherwise we had this situation:
template <typename T1, typename T2>
struct S {
};
template <typename T>
struct S<T, int> {
};
void f() {
S<int, int> s; // location of declaration "S<int, int>" was of "S<T1, T2>" not "S<T, int>"
}
llvm-svn: 150290
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions