forked from OSchip/llvm-project
Provide an Objective C mangling for wchar_t. Patch by Nico Weber!
llvm-svn: 105818
This commit is contained in:
parent
6d1116ac49
commit
dad856dba3
|
@ -3477,6 +3477,7 @@ static char ObjCEncodingForPrimitiveKind(const ASTContext *C, QualType T) {
|
|||
case BuiltinType::Char_S:
|
||||
case BuiltinType::SChar: return 'c';
|
||||
case BuiltinType::Short: return 's';
|
||||
case BuiltinType::WChar:
|
||||
case BuiltinType::Int: return 'i';
|
||||
case BuiltinType::Long:
|
||||
return
|
||||
|
|
|
@ -45,3 +45,4 @@ template <typename T> struct EncodeTest {
|
|||
|
||||
template struct EncodeTest<int>;
|
||||
template struct EncodeTest<double>;
|
||||
template struct EncodeTest<wchar_t>;
|
||||
|
|
Loading…
Reference in New Issue