]> granicus.if.org Git - clang/commit
Make the mangled name collision diagnostic a bit more useful by listing the mangling.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 30 May 2018 01:52:16 +0000 (01:52 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 30 May 2018 01:52:16 +0000 (01:52 +0000)
commit0795e676aa4dd98d7332488603f9ef9e202e54fc
tree70bc3b8cafc99fb7cd4cb0cac27e3b2da787d3a1
parent2364311344bb332829cfbdfb1d2cd31592fd6d2a
Make the mangled name collision diagnostic a bit more useful by listing the mangling.

This helps especially when the collision is for a template specialization,
where the template arguments are not available from anywhere else in the
diagnostic, and are likely relevant to the problem.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333489 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/duplicate-mangled-name.cpp
test/Sema/attr-ifunc.c