зеркало из https://github.com/microsoft/clang-1.git
Provide an Objective C mangling for wchar_t. Patch by Nico Weber!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
ddb0ce750c
Коммит
24da7093a8
|
@ -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>;
|
||||
|
|
Загрузка…
Ссылка в новой задаче