Implement `getUnresolvedUsingType()` and don't create a new `UnresolvedUsingType` when there is already canonical declaration. This solved an incorrect ODR detection in modules for uresolved using type. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D115792
10 lines
149 B
C++
10 lines
149 B
C++
template <class T>
|
|
struct bar {
|
|
using Ty = int;
|
|
};
|
|
template <class T>
|
|
struct foo : public bar<T> {
|
|
using typename bar<T>::Ty;
|
|
void baz(Ty);
|
|
};
|