]> granicus.if.org Git - clang/commit
[ms-cxxabi] Don't consider function templates for name backrefs
authorReid Kleckner <reid@kleckner.net>
Sat, 13 Jul 2013 00:43:39 +0000 (00:43 +0000)
committerReid Kleckner <reid@kleckner.net>
Sat, 13 Jul 2013 00:43:39 +0000 (00:43 +0000)
commit3be37d1d2d5733523e516e5a6b22c576e740230e
treeb0fa427bb9efd276aeb1ab17261815a83cc870b0
parente99b37c8f271814ba63046bbde9af0c68e7a26c9
[ms-cxxabi] Don't consider function templates for name backrefs

They don't seem to be used for back references, presumably because a
function template is unlikely to reoccur, while a class template name
may reoccur as a type.

This fixes a mangling issue for llvm::hash_combine() in Hashing.h.

Reviewers: timurrrr

Differential Revision: http://llvm-reviews.chandlerc.com/D1078

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186233 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenCXX/mangle-ms-back-references-pr13207.cpp
test/CodeGenCXX/mangle-ms-back-references.cpp