@@ -193,7 +193,7 @@ For later versions of Visual Studio, no setup is required-->
193
193
<Type Name =" clang::DeclContext" >
194
194
<DisplayString >{(clang::Decl::Kind)DeclContextBits.DeclKind,en}Decl</DisplayString >
195
195
<Expand >
196
- <Item Name =" DeclKind" >(clang::Decl::Kind)DeclContextBits.DeclKind,en</Item >
196
+ <!-- < Item Name="DeclKind">(clang::Decl::Kind)DeclContextBits.DeclKind,en</Item> -- >
197
197
<Synthetic Name =" Members" >
198
198
<DisplayString ></DisplayString >
199
199
<Expand >
@@ -208,33 +208,46 @@ For later versions of Visual Studio, no setup is required-->
208
208
</Type >
209
209
<Type Name =" clang::FieldDecl" >
210
210
<DisplayString >Field {{{*(clang::DeclaratorDecl *)this,view(cpp)nd}}}</DisplayString >
211
+ <Expand >
212
+ <ExpandedItem >*(DeclaratorDecl*)this,nd</ExpandedItem >
213
+ </Expand >
211
214
</Type >
212
215
<Type Name =" clang::CXXMethodDecl" >
213
216
<DisplayString IncludeView =" cpp" >{*(clang::FunctionDecl *)this,nd}</DisplayString >
214
217
<DisplayString >Method {{{*this,view(cpp)}}}</DisplayString >
218
+ <Expand >
219
+ <ExpandedItem >*(FunctionDecl*)this,nd</ExpandedItem >
220
+ </Expand >
215
221
</Type >
216
222
<Type Name =" clang::CXXConstructorDecl" >
217
223
<DisplayString >Constructor {{{Name,view(cpp)}({*(clang::FunctionDecl *)this,view(parm0)nd})}}</DisplayString >
224
+ <Expand >
225
+ <ExpandedItem >*(FunctionDecl*)this,nd</ExpandedItem >
226
+ </Expand >
218
227
</Type >
219
228
<Type Name =" clang::CXXDestructorDecl" >
220
229
<DisplayString >Destructor {{~{Name,view(cpp)}()}}</DisplayString >
230
+ <Expand >
231
+ <ExpandedItem >*(FunctionDecl*)this,nd</ExpandedItem >
232
+ </Expand >
221
233
</Type >
222
234
<Type Name =" clang::TemplateTypeParmDecl" >
223
235
<DisplayString IncludeView =" TorC" Condition =" Typename" >typename</DisplayString >
224
236
<DisplayString IncludeView =" TorC" Condition =" !Typename" >class</DisplayString >
225
237
<DisplayString IncludeView =" MaybeEllipses" Condition =" TypeForDecl == nullptr" >(not yet known if parameter pack) </DisplayString >
226
- <DisplayString IncludeView =" MaybeEllipses" Condition =" ((TemplateTypeParmType *)(((clang::ExtQualsTypeCommonBase *)(((uintptr_t)TypeForDecl->CanonicalType.Value.Value) & ~(uintptr_t)((1 << 4) - 1)))-> BaseType))->CanTTPTInfo.ParameterPack" >...</DisplayString >
227
- <DisplayString IncludeView =" MaybeEllipses" Condition =" !((TemplateTypeParmType *)(((clang::ExtQualsTypeCommonBase *)(((uintptr_t)TypeForDecl->CanonicalType.Value.Value) & ~(uintptr_t)((1 << 4) - 1)))-> BaseType))->CanTTPTInfo.ParameterPack" ></DisplayString >
228
- <DisplayString IncludeView =" DefaultArg" Condition =" (DefaultArgument.ValueOrInherited.Val.Value& 3LL) == 0" >{(TypeSourceInfo *)(DefaultArgument.ValueOrInherited.Val.Value& ~3LL),view(cpp)}</DisplayString >
238
+ <DisplayString IncludeView =" MaybeEllipses" Condition =" ((TemplateTypeParmType *)(((clang::ExtQualsTypeCommonBase *)(((uintptr_t)TypeForDecl->CanonicalType.Value.Value.Data ) & ~(uintptr_t)((1 << 4) - 1)))-> BaseType))->CanTTPTInfo.ParameterPack" >...</DisplayString >
239
+ <DisplayString IncludeView =" MaybeEllipses" Condition =" !((TemplateTypeParmType *)(((clang::ExtQualsTypeCommonBase *)(((uintptr_t)TypeForDecl->CanonicalType.Value.Value.Data ) & ~(uintptr_t)((1 << 4) - 1)))-> BaseType))->CanTTPTInfo.ParameterPack" ></DisplayString >
240
+ <DisplayString IncludeView =" DefaultArg" Condition =" ((*(uintptr_t*) DefaultArgument.ValueOrInherited.Val.Value.Data) & 3LL) == 0" >{(TypeSourceInfo *)((*(uintptr_t*) DefaultArgument.ValueOrInherited.Val.Value.Data) & ~3LL),view(cpp)}</DisplayString >
229
241
<DisplayString IncludeView =" DefaultArg" >{{InheritedInitializer}}</DisplayString >
230
- <DisplayString IncludeView =" Initializer" Condition =" DefaultArgument.ValueOrInherited.Val.Value& ~3LL" >= {this,view(DefaultArg)na}</DisplayString >
242
+ <DisplayString IncludeView =" Initializer" Condition =" (*(uintptr_t*) DefaultArgument.ValueOrInherited.Val.Value.Data) & ~3LL" >= {this,view(DefaultArg)na}</DisplayString >
231
243
<DisplayString IncludeView =" Initializer" ></DisplayString >
232
244
<DisplayString >{*this,view(TorC)} {*this,view(MaybeEllipses)}{Name,view(cpp)} {this,view(Initializer)na}</DisplayString >
233
245
</Type >
234
246
<Type Name =" clang::TemplateDecl" >
235
247
<DisplayString IncludeView =" cpp" >{*TemplatedDecl,view(cpp)}</DisplayString >
236
248
<DisplayString >template{TemplateParams,na} {*TemplatedDecl};</DisplayString >
237
249
<Expand >
250
+ <ExpandedItem >*(NamedDecl *)this,nd</ExpandedItem >
238
251
<Item Name =" TemplateParams" >TemplateParams,na</Item >
239
252
<Item Name =" TemplatedDecl" >TemplatedDecl,na</Item >
240
253
</Expand >
@@ -246,11 +259,11 @@ For later versions of Visual Studio, no setup is required-->
246
259
<DisplayString IncludeView =" name" >{(TypeDecl *)this,view(cpp)nand}</DisplayString >
247
260
<DisplayString >typedef {this,view(type)na} {this,view(name)na};</DisplayString >
248
261
<Expand >
262
+ <ExpandedItem >*(TypeDecl *)this,nd</ExpandedItem >
249
263
<Item Name =" IsTransparent" Condition =" (*(uintptr_t *)MaybeModedTInfo.Value.Data & 1)==0" >"Not yet calculated",sb</Item >
250
264
<Item Name =" IsTransparent" Condition =" (*(uintptr_t *)MaybeModedTInfo.Value.Data & 1)!=0" >(bool)(*(uintptr_t *)MaybeModedTInfo.Value.Data & 2)</Item >
251
265
<Item Name =" TypeSourceInfo" Condition =" (*(uintptr_t *)MaybeModedTInfo.Value.Data & 4)==0" >(clang::TypeSourceInfo *)(*(uintptr_t *)MaybeModedTInfo.Value.Data & ~7LL)</Item >
252
266
<Item Name =" ModedTInfo" Condition =" (*(uintptr_t *)MaybeModedTInfo.Value.Data & 4)!=0" >(clang::TypedefNameDecl::ModedTInfo *)(*(uintptr_t *)MaybeModedTInfo.Value.Data & ~7LL)</Item >
253
- <ExpandedItem >(TypeDecl *)this,nd</ExpandedItem >
254
267
</Expand >
255
268
</Type >
256
269
<Type Name =" clang::TypeAliasDecl" >
@@ -286,46 +299,46 @@ For later versions of Visual Studio, no setup is required-->
286
299
<Type Name =" llvm::PointerUnion< clang::TemplateDecl *, clang::UncommonTemplateNameStorage *,
287
300
clang::QualifiedTemplateName *, clang::DependentTemplateName *> " >
288
301
<!-- Expand this out by hand to get cpp view -->
289
- <DisplayString Condition =" (Val.Value & 3) == 0" IncludeView =" cpp" >
290
- {(clang::TemplateDecl *)(Val.Value & ~3LL),view(cpp)na}
302
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 0" IncludeView =" cpp" >
303
+ {(clang::TemplateDecl *)(*((uintptr_t*) Val.Value.Data) & ~3LL),view(cpp)na}
291
304
</DisplayString >
292
- <DisplayString Condition =" (Val.Value & 3) == 0" >
293
- {(clang::TemplateDecl *)(Val.Value & ~3LL),na}
305
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 0" >
306
+ {(clang::TemplateDecl *)(*((uintptr_t*) Val.Value.Data) & ~3LL),na}
294
307
</DisplayString >
295
- <DisplayString Condition =" (Val.Value & 3) == 1" IncludeView =" cpp" >
296
- {(clang::UncommonTemplateNameStorage *)(Val.Value & ~3LL),view(cpp)na}
308
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 1" IncludeView =" cpp" >
309
+ {(clang::UncommonTemplateNameStorage *)(*((uintptr_t*) Val.Value.Data) & ~3LL),view(cpp)na}
297
310
</DisplayString >
298
- <DisplayString Condition =" (Val.Value & 3) == 1" >
299
- {(clang::UncommonTemplateNameStorage *)(Val.Value & ~3LL),na}
311
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 1" >
312
+ {(clang::UncommonTemplateNameStorage *)(*((uintptr_t*) Val.Value.Data) & ~3LL),na}
300
313
</DisplayString >
301
- <DisplayString Condition =" (Val.Value & 3) == 2" IncludeView =" cpp" >
302
- {(clang::QualifiedTemplateName *)(Val.Value & ~3LL),view(cpp)na}
314
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 2" IncludeView =" cpp" >
315
+ {(clang::QualifiedTemplateName *)(*((uintptr_t*) Val.Value.Data) & ~3LL),view(cpp)na}
303
316
</DisplayString >
304
- <DisplayString Condition =" (Val.Value & 3) == 2" >
305
- {(clang::QualifiedTemplateName *)(Val.Value & ~3LL),na}
317
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 2" >
318
+ {(clang::QualifiedTemplateName *)(*((uintptr_t*) Val.Value.Data) & ~3LL),na}
306
319
</DisplayString >
307
- <DisplayString Condition =" (Val.Value & 3) == 3" IncludeView =" cpp" >
308
- {(clang::DependentTemplateName *)(Val.Value & ~3LL),view(cpp)na}
320
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 3" IncludeView =" cpp" >
321
+ {(clang::DependentTemplateName *)(*((uintptr_t*) Val.Value.Data) & ~3LL),view(cpp)na}
309
322
</DisplayString >
310
- <DisplayString Condition =" (Val.Value & 3) == 3" >
311
- {(clang::DependentTemplateName *)(Val.Value & ~3LL),na}
323
+ <DisplayString Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 3" >
324
+ {(clang::DependentTemplateName *)(*((uintptr_t*) Val.Value.Data) & ~3LL),na}
312
325
</DisplayString >
313
326
<Expand >
314
- <Item Name =" [Holds]" Condition =" (Val.Value & 3) == 0" >"TemplateDecl",s8b</Item >
315
- <Item Name =" [Ptr]" Optional =" true" Condition =" (Val.Value & 3) == 0" >
316
- (clang::TemplateDecl *)(Val.Value & ~3LL)
327
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 0" >"TemplateDecl",s8b</Item >
328
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 0" >
329
+ (clang::TemplateDecl *)(*((uintptr_t*) Val.Value.Data) & ~3LL)
317
330
</Item >
318
- <Item Name =" [Holds]" Condition =" (Val.Value & 3) == 1" >"UncommonTemplateNameStorage",s8b</Item >
319
- <Item Name =" [Ptr]" Optional =" true" Condition =" (Val.Value & 3) == 1" >
320
- (clang::UncommonTemplateNameStorage *)(Val.Value & ~3LL)
331
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 1" >"UncommonTemplateNameStorage",s8b</Item >
332
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 1" >
333
+ (clang::UncommonTemplateNameStorage *)(*((uintptr_t*) Val.Value.Data) & ~3LL)
321
334
</Item >
322
- <Item Name =" [Holds]" Condition =" (Val.Value & 3) == 2" >"QualifiedTemplateName",s8b</Item >
323
- <Item Name =" [Ptr]" Optional =" true" Condition =" (Val.Value & 3) == 2" >
324
- (clang::QualifiedTemplateName *)(Val.Value & ~3LL)
335
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 2" >"QualifiedTemplateName",s8b</Item >
336
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 2" >
337
+ (clang::QualifiedTemplateName *)(*((uintptr_t*) Val.Value.Data) & ~3LL)
325
338
</Item >
326
- <Item Name =" [Holds]" Condition =" (Val.Value & 3) == 3" >"DependentTemplateName",s8b</Item >
327
- <Item Name =" [Ptr]" Optional =" true" Condition =" (Val.Value & 3) == 3" >
328
- (clang::DependentTemplateName *)(Val.Value & ~3LL)
339
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 3" >"DependentTemplateName",s8b</Item >
340
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*) Val.Value.Data) & 3) == 3" >
341
+ (clang::DependentTemplateName *)(*((uintptr_t*) Val.Value.Data) & ~3LL)
329
342
</Item >
330
343
<Item Name =" [Val]" >Val</Item >
331
344
@@ -338,9 +351,22 @@ For later versions of Visual Studio, no setup is required-->
338
351
<ExpandedItem >Storage</ExpandedItem >
339
352
</Expand >
340
353
</Type >
354
+ <Type Name =" clang::Decl" >
355
+ <DisplayString >{(clang::Decl::Kind)DeclKind,en}Decl</DisplayString >
356
+ <Expand >
357
+ <Item Name =" DeclKind" >(clang::Decl::Kind)DeclKind,en</Item >
358
+ <Item Name =" Implicit" >Implicit</Item >
359
+ <Item Name =" Access" >(AccessSpecifier)Access</Item >
360
+ <ExpandedItem Condition =" dynamic_cast< clang::DeclContext*> (this)" >*dynamic_cast< clang::DeclContext*> (this)</ExpandedItem >
361
+ </Expand >
362
+ </Type >
341
363
<Type Name =" clang::NamedDecl" >
342
364
<DisplayString IncludeView =" cpp" >{Name,view(cpp)}</DisplayString >
343
365
<DisplayString >{Name}</DisplayString >
366
+ <Expand >
367
+ <ExpandedItem >*(clang::Decl*)this,nd</ExpandedItem >
368
+ <Item Name =" Name" >Name</Item >
369
+ </Expand >
344
370
</Type >
345
371
<Type Name =" clang::TagDecl" >
346
372
<DisplayString IncludeView =" implicit" Condition =" Implicit" >implicit{" ",sb}</DisplayString >
@@ -353,7 +379,7 @@ For later versions of Visual Studio, no setup is required-->
353
379
<DisplayString Condition =" TagDeclBits.TagDeclKind==clang::TagTypeKind::TTK_Class" >{*this,view(modifiers)nd}class {Name,view(cpp)}</DisplayString >
354
380
<DisplayString Condition =" TagDeclBits.TagDeclKind==clang::TagTypeKind::TTK_Enum" >{*this,view(modifiers)nd}enum {Name,view(cpp)}</DisplayString >
355
381
<Expand >
356
- <ExpandedItem >(clang::DeclContext *)this</ExpandedItem >
382
+ <ExpandedItem >* (clang::Decl *)this,nd </ExpandedItem >
357
383
</Expand >
358
384
</Type >
359
385
<Type Name =" clang::TagType" >
@@ -893,14 +919,14 @@ For later versions of Visual Studio, no setup is required-->
893
919
<Type Name =" clang::DeclaratorDecl" >
894
920
<DisplayString >{DeclType,view(left)} {Name,view(cpp)}{DeclType,view(right)}</DisplayString >
895
921
<Expand >
896
- <Item Name = " Name " >Name</ Item >
922
+ <ExpandedItem >*(NamedDecl*)this,nd</ ExpandedItem >
897
923
<Item Name =" DeclType" >DeclType</Item >
898
924
</Expand >
899
925
</Type >
900
926
<Type Name =" clang::VarDecl" >
901
927
<DisplayString >{(DeclaratorDecl*)this,nand}</DisplayString >
902
928
<Expand >
903
- <ExpandedItem >(DeclaratorDecl*)this,nd</ExpandedItem >
929
+ <ExpandedItem >* (DeclaratorDecl*)this,nd</ExpandedItem >
904
930
<Item Name =" Init" >Init</Item >
905
931
<Item Name =" VarDeclBits" >VarDeclBits</Item >
906
932
</Expand >
@@ -927,6 +953,56 @@ For later versions of Visual Studio, no setup is required-->
927
953
<ExpandedItem >(FunctionDecl*)this,nd</ExpandedItem >
928
954
</Expand >
929
955
</Type >
956
+
957
+ <Type Name =" llvm::PointerUnion< clang::NamedDecl*, clang::MemberSpecializationInfo*, clang::FunctionTemplateSpecializationInfo*, clang::DependentFunctionTemplateSpecializationInfo*> " >
958
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 0" IncludeView =" cpp" >
959
+ {(clang::NamedDecl *)(*((uintptr_t*)Val.Value.Data) & ~3LL),view(cpp)na}
960
+ </DisplayString >
961
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 0" >
962
+ {(clang::NamedDecl *)(*((uintptr_t*)Val.Value.Data) & ~3LL),na}
963
+ </DisplayString >
964
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 1" IncludeView =" cpp" >
965
+ {(clang::MemberSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL),view(cpp)na}
966
+ </DisplayString >
967
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 1" >
968
+ {(clang::MemberSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL),na}
969
+ </DisplayString >
970
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 2" IncludeView =" cpp" >
971
+ {(clang::FunctionTemplateSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL),view(cpp)na}
972
+ </DisplayString >
973
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 2" >
974
+ {(clang::FunctionTemplateSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL),na}
975
+ </DisplayString >
976
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 3" IncludeView =" cpp" >
977
+ {(clang::DependentFunctionTemplateSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL),view(cpp)na}
978
+ </DisplayString >
979
+ <DisplayString Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 3" >
980
+ {(clang::DependentFunctionTemplateSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL),na}
981
+ </DisplayString >
982
+
983
+ <Expand >
984
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 0" >"NamedDecl",s8b</Item >
985
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 0" >
986
+ (clang::NamedDecl *)(*((uintptr_t*)Val.Value.Data) & ~3LL)
987
+ </Item >
988
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 1" >"MemberSpecializationInfo",s8b</Item >
989
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 1" >
990
+ (clang::MemberSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL)
991
+ </Item >
992
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 2" >"FunctionTemplateSpecializationInfo",s8b</Item >
993
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 2" >
994
+ (clang::FunctionTemplateSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL)
995
+ </Item >
996
+ <Item Name =" [Holds]" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 3" >"DependentFunctionTemplateSpecializationInfo",s8b</Item >
997
+ <Item Name =" [Ptr]" Optional =" true" Condition =" (*((uintptr_t*)Val.Value.Data) & 3) == 3" >
998
+ (clang::DependentFunctionTemplateSpecializationInfo *)(*((uintptr_t*)Val.Value.Data) & ~3LL)
999
+ </Item >
1000
+
1001
+ <Item Name =" [Val]" >Val</Item >
1002
+
1003
+ </Expand >
1004
+ </Type >
1005
+
930
1006
<Type Name =" clang::FunctionDecl" >
931
1007
<DisplayString IncludeView =" retType" >{((clang::FunctionProtoType *)((clang::ExtQualsTypeCommonBase *)((*(uintptr_t *)DeclType.Value.Value.Data) & ~15))-> BaseType)->ResultType,view(cpp)}</DisplayString >
932
1008
<DisplayString IncludeView =" parm0" Condition =" 0 == ((clang::FunctionProtoType *)((clang::ExtQualsTypeCommonBase *)((*(uintptr_t *)DeclType.Value.Value.Data) & ~15))-> BaseType)-> FunctionTypeBits.NumParams" ></DisplayString >
0 commit comments