http://llvm.org/bugs/show_bug.cgi?id=14118
Bug #: 14118
Summary: missing namespace in mangling
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
given
namespace mozilla {
template<typename From> struct IsConvertible {
static const bool value =true;
};
template<bool B> struct EnableIf {
typedef int Type;
};
template <typename S> void Handle(S x, typename
EnableIf<IsConvertible<S>::value>::Type dummy) {
}
template void Handle( int x, typename
EnableIf<IsConvertible<int>::value>::Type dummy );
}
gcc produces
_ZN7mozilla6HandleIiEEvT_NS_8EnableIfIXsrNS_13IsConvertibleIS1_EE5valueEE4TypeE
and clang produces
_ZN7mozilla6HandleIiEEvT_NS_8EnableIfIXsr13IsConvertibleIS1_EE5valueEE4TypeE
looks like clang is missing the namespace prefix for IsConvertible.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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