mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-27 23:38:59 -04:00

instantiation stack so that we provide a full instantiation backtrace. Previously, we performed all of the instantiations implied by the recursion, but each looked like a "top-level" instantiation. The included test case tests the previous fix for the instantiation of DeclRefExprs. Note that the "instantiated from" diagnostics still don't tell us which template arguments we're instantiating with. llvm-svn: 74540
11 lines
250 B
C++
11 lines
250 B
C++
// RUN: clang-cc -fsyntax-only -verify %s
|
|
|
|
template<typename T> void f(T* t) {
|
|
f(*t); // expected-error{{no matching function}}\
|
|
// expected-note 3{{requested here}}
|
|
}
|
|
|
|
void test_f(int ****p) {
|
|
f(p); // expected-note{{requested here}}
|
|
}
|