@@ -1005,13 +1005,11 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1005
1005
* wchar_t / unsigned short / char16_t = su format
1006
1006
* char32_t = s32 format
1007
1007
-->
1008
- <Type Name =" std::basic_string< char,*> " >
1009
- <AlternativeType Name =" std::basic_string< char8_t,*> " />
1010
-
1008
+ <Type Name =" std::basic_string< *,*> " >
1011
1009
<Intrinsic Name =" size" Expression =" _Mypair._Myval2._Mysize" />
1012
1010
<Intrinsic Name =" capacity" Expression =" _Mypair._Myval2._Myres" />
1013
- <!-- _BUF_SIZE = 16 / sizeof(char ) < 1 ? 1 : 16 / sizeof(char) == 16 -->
1014
- <Intrinsic Name =" bufSize" Expression =" 16" />
1011
+ <!-- _BUF_SIZE = 16 / sizeof($T1 ) < 1 ? 1 : 16 / sizeof($T1) -->
1012
+ <Intrinsic Name =" bufSize" Expression =" 16 / sizeof($T1) < 1 ? 1 : 16 / sizeof($T1) " />
1015
1013
<Intrinsic Name =" isShortString" Expression =" capacity() < bufSize()" />
1016
1014
<Intrinsic Name =" isLongString" Expression =" capacity() > = bufSize()" />
1017
1015
<DisplayString Condition =" isShortString()" >{_Mypair._Myval2._Bx._Buf,na}</DisplayString >
@@ -1030,85 +1028,14 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1030
1028
</Expand >
1031
1029
</Type >
1032
1030
1033
- <Type Name =" std::basic_string< wchar_t,*> " >
1034
- <AlternativeType Name =" std::basic_string< unsigned short,*> " />
1035
- <AlternativeType Name =" std::basic_string< char16_t,*> " />
1036
-
1037
- <Intrinsic Name =" size" Expression =" _Mypair._Myval2._Mysize" />
1038
- <Intrinsic Name =" capacity" Expression =" _Mypair._Myval2._Myres" />
1039
- <!-- _BUF_SIZE = 16 / sizeof(wchar_t) < 1 ? 1 : 16 / sizeof(wchar_t) == 8 -->
1040
- <Intrinsic Name =" bufSize" Expression =" 8" />
1041
- <Intrinsic Name =" isShortString" Expression =" capacity() < bufSize()" />
1042
- <Intrinsic Name =" isLongString" Expression =" capacity() > = bufSize()" />
1043
- <DisplayString Condition =" isShortString()" >{_Mypair._Myval2._Bx._Buf,su}</DisplayString >
1044
- <DisplayString Condition =" isLongString()" >{_Mypair._Myval2._Bx._Ptr,su}</DisplayString >
1045
- <StringView Condition =" isShortString()" >_Mypair._Myval2._Bx._Buf,su</StringView >
1046
- <StringView Condition =" isLongString()" >_Mypair._Myval2._Bx._Ptr,su</StringView >
1047
- <Expand >
1048
- <Item Name =" [size]" ExcludeView =" simple" >size()</Item >
1049
- <Item Name =" [capacity]" ExcludeView =" simple" >capacity()</Item >
1050
- <Item Name =" [allocator]" ExcludeView =" simple" >_Mypair</Item >
1051
- <ArrayItems >
1052
- <Size >_Mypair._Myval2._Mysize</Size >
1053
- <ValuePointer Condition =" isShortString()" >_Mypair._Myval2._Bx._Buf</ValuePointer >
1054
- <ValuePointer Condition =" isLongString()" >_Mypair._Myval2._Bx._Ptr</ValuePointer >
1055
- </ArrayItems >
1056
- </Expand >
1057
- </Type >
1058
-
1059
- <Type Name =" std::basic_string< char32_t,*> " >
1060
- <Intrinsic Name =" size" Expression =" _Mypair._Myval2._Mysize" />
1061
- <Intrinsic Name =" capacity" Expression =" _Mypair._Myval2._Myres" />
1062
- <!-- _BUF_SIZE = 16 / sizeof(char32_t) < 1 ? 1 : 16 / sizeof(char32_t) == 4 -->
1063
- <Intrinsic Name =" bufSize" Expression =" 4" />
1064
- <Intrinsic Name =" isShortString" Expression =" capacity() < bufSize()" />
1065
- <Intrinsic Name =" isLongString" Expression =" capacity() > = bufSize()" />
1066
- <DisplayString Condition =" isShortString()" >{_Mypair._Myval2._Bx._Buf,s32}</DisplayString >
1067
- <DisplayString Condition =" isLongString()" >{_Mypair._Myval2._Bx._Ptr,s32}</DisplayString >
1068
- <StringView Condition =" isShortString()" >_Mypair._Myval2._Bx._Buf,s32</StringView >
1069
- <StringView Condition =" isLongString()" >_Mypair._Myval2._Bx._Ptr,s32</StringView >
1070
- <Expand >
1071
- <Item Name =" [size]" ExcludeView =" simple" >size()</Item >
1072
- <Item Name =" [capacity]" ExcludeView =" simple" >capacity()</Item >
1073
- <Item Name =" [allocator]" ExcludeView =" simple" >_Mypair</Item >
1074
- <ArrayItems >
1075
- <Size >_Mypair._Myval2._Mysize</Size >
1076
- <ValuePointer Condition =" isShortString()" >_Mypair._Myval2._Bx._Buf</ValuePointer >
1077
- <ValuePointer Condition =" isLongString()" >_Mypair._Myval2._Bx._Ptr</ValuePointer >
1078
- </ArrayItems >
1079
- </Expand >
1080
- </Type >
1081
-
1082
- <Type Name =" std::_String_iterator< std::_String_val< std::_Simple_types< char> > > " >
1083
- <AlternativeType Name =" std::_String_const_iterator< std::_String_val< std::_Simple_types< char> > > " />
1084
- <AlternativeType Name =" std::_String_iterator< std::_String_val< std::_Simple_types< char8_t> > > " />
1085
- <AlternativeType Name =" std::_String_const_iterator< std::_String_val< std::_Simple_types< char8_t> > > " />
1031
+ <Type Name =" std::_String_iterator< std::_String_val< std::_Simple_types< *> > > " >
1032
+ <AlternativeType Name =" std::_String_const_iterator< std::_String_val< std::_Simple_types< *> > > " />
1086
1033
<SmartPointer Usage =" Indexable" >_Ptr,na</SmartPointer >
1087
1034
<Expand >
1088
1035
<Item Name =" [ptr]" >_Ptr</Item >
1089
1036
</Expand >
1090
1037
</Type >
1091
1038
1092
- <Type Name =" std::_String_iterator< std::_String_val< std::_Simple_types< wchar_t> > > " >
1093
- <AlternativeType Name =" std::_String_const_iterator< std::_String_val< std::_Simple_types< wchar_t> > > " />
1094
- <AlternativeType Name =" std::_String_iterator< std::_String_val< std::_Simple_types< unsigned short> > > " />
1095
- <AlternativeType Name =" std::_String_const_iterator< std::_String_val< std::_Simple_types< unsigned short> > > " />
1096
- <AlternativeType Name =" std::_String_iterator< std::_String_val< std::_Simple_types< char16_t> > > " />
1097
- <AlternativeType Name =" std::_String_const_iterator< std::_String_val< std::_Simple_types< char16_t> > > " />
1098
- <SmartPointer Usage =" Indexable" >_Ptr,su</SmartPointer >
1099
- <Expand >
1100
- <Item Name =" [ptr]" >_Ptr</Item >
1101
- </Expand >
1102
- </Type >
1103
-
1104
- <Type Name =" std::_String_iterator< std::_String_val< std::_Simple_types< char32_t> > > " >
1105
- <AlternativeType Name =" std::_String_const_iterator< std::_String_val< std::_Simple_types< char32_t> > > " />
1106
- <SmartPointer Usage =" Indexable" >_Ptr,s32</SmartPointer >
1107
- <Expand >
1108
- <Item Name =" [ptr]" >_Ptr</Item >
1109
- </Expand >
1110
- </Type >
1111
-
1112
1039
<Type Name =" std::basic_string_view< *,*> " >
1113
1040
<Intrinsic Name =" size" Expression =" _Mysize" />
1114
1041
<Intrinsic Name =" data" Expression =" _Mydata" />
0 commit comments