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/tools/llvm-objdump/llvm-objdump.h | |
| parent | d4a7c123f3cbb3f3b03e703aa8c855f8f6ec43c2 (diff) | |
| download | bcm5719-llvm-e378948c8a426743f472ec12f48aea7504f7537a.tar.gz bcm5719-llvm-e378948c8a426743f472ec12f48aea7504f7537a.zip | |
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/tools/llvm-objdump/llvm-objdump.h')
0 files changed, 0 insertions, 0 deletions

