parent
b89a58df96
commit
dc1646dc2b
|
@ -968,7 +968,7 @@ static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads,
|
|||
}
|
||||
|
||||
NamedDecl *Fn = (*It)->getUnderlyingDecl();
|
||||
S.Diag(Fn->getLocStart(), diag::note_possible_target_of_call);
|
||||
S.Diag(Fn->getLocation(), diag::note_possible_target_of_call);
|
||||
++ShownOverloads;
|
||||
}
|
||||
|
||||
|
|
|
@ -185,8 +185,8 @@ struct Class : BaseClass
|
|||
template <class T>
|
||||
struct NestedClassTemplate {};
|
||||
|
||||
template <class T> // expected-note{{possible target for call}}
|
||||
static int& NestedFuncTemplate() { return variable; }
|
||||
template <class T>
|
||||
static int& NestedFuncTemplate() { return variable; } // expected-note{{possible target for call}}
|
||||
|
||||
template <class T>
|
||||
int& NestedMemfunTemplate() { return variable; }
|
||||
|
|
Loading…
Reference in New Issue