diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-28 12:20:14 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-28 12:20:14 +0000 |
commit | 2afa8780d62a9334fdbdb0c46f814d211e2083b3 (patch) | |
tree | d1ee6166d6845e905784c21d0dd9f6d0eb2f88c4 /clang/lib/Sema/SemaTemplateInstantiate.cpp | |
parent | a9c452121a395908ed3f8e4034fc55254933bbd1 (diff) | |
download | bcm5719-llvm-2afa8780d62a9334fdbdb0c46f814d211e2083b3.tar.gz bcm5719-llvm-2afa8780d62a9334fdbdb0c46f814d211e2083b3.zip |
Consolidate some note diagnostics
These note diags have the same message and can be unified further but for now
let's just bring them together.
Incidental change: Display a source range in the final attr diagnostic.
llvm-svn: 209728
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiate.cpp')
-rw-r--r-- | clang/lib/Sema/SemaTemplateInstantiate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiate.cpp b/clang/lib/Sema/SemaTemplateInstantiate.cpp index fae1222aed8..75854d1b528 100644 --- a/clang/lib/Sema/SemaTemplateInstantiate.cpp +++ b/clang/lib/Sema/SemaTemplateInstantiate.cpp @@ -1850,7 +1850,7 @@ static bool DiagnoseUninstantiableTemplate(Sema &S, S.Diag(PointOfInstantiation, diag::err_implicit_instantiate_member_undefined) << S.Context.getTypeDeclType(Instantiation); - S.Diag(Pattern->getLocation(), diag::note_member_of_template_here); + S.Diag(Pattern->getLocation(), diag::note_member_declared_at); } else { S.Diag(PointOfInstantiation, diag::err_template_instantiate_undefined) << (TSK != TSK_ImplicitInstantiation) |