aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Program.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-09-10 01:04:45 +0000
committerReid Kleckner <reid@kleckner.net>2013-09-10 01:04:45 +0000
commit76808056f9be85effe5103d69453bb3b24450b2f (patch)
treeb43a512f561ee5579399ac66933eb64fedfc09e3 /llvm/lib/Support/Program.cpp
parentd232222f347d6e8406522e540e76ab89d83e469d (diff)
downloadllvm-76808056f9be85effe5103d69453bb3b24450b2f.zip
llvm-76808056f9be85effe5103d69453bb3b24450b2f.tar.gz
llvm-76808056f9be85effe5103d69453bb3b24450b2f.tar.bz2
Ignore calling conventions when checking function template specializations
Summary: Calling conventions are inherited during decl merging. Before this change, deduction would fail due to a type mismatch between the template and the specialization. This change adjusts the CCs to match before deduction, and lets the decl merging logic diagnose mismatch or inherit the CC from the template. This allows specializations of static member function templates in the Microsoft C++ ABI. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1570 llvm-svn: 190377
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions