diff options
author | Congcong Cai <congcongcai0907@163.com> | 2023-04-25 00:30:58 +0200 |
---|---|---|
committer | Congcong Cai <congcongcai0907@163.com> | 2023-04-27 00:29:13 +0200 |
commit | 921b45a855f09afe99ea9c0c173794ee4ccd5872 (patch) | |
tree | 119752a815ba333fc63a39f6b1ec9391f2458b9c /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | b6da4bf1f8ec245987cc4c8ac66e71ca2780d1dc (diff) | |
download | llvm-921b45a855f09afe99ea9c0c173794ee4ccd5872.zip llvm-921b45a855f09afe99ea9c0c173794ee4ccd5872.tar.gz llvm-921b45a855f09afe99ea9c0c173794ee4ccd5872.tar.bz2 |
[Sema]Select correct lexical context during template instantiate
This patch wants to fix inline friend decl like
```
template <class F1> int foo(F1 X);
template <int A1> struct A {
template <class F1> friend int foo(F1 X) { return A1; }
};
template struct A<1>;
int a = foo(1.0);
```
Differential Revision: https://reviews.llvm.org/D149009
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions