http://llvm.org/bugs/show_bug.cgi?id=19733
Bug ID: 19733
Summary: MS ABI: Bad mangling for arrays in function template
arguments
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
consider:
template <typename T> void f(T) {}
template void f(int[]);
we mangle it as:
??$f@PAH@@YAXPAH@Z - void __cdecl f<int *>(int *)
they mangle it as:
??$f@QAH@@YAXQAH@Z - void __cdecl f<int * const>(int * const)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs