<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::IncompleteArray" IncludeView="poly">{(clang::IncompleteArrayType *)this,na}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::IncompleteArray" IncludeView="left">{(clang::IncompleteArrayType *)this,view(left)na}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::IncompleteArray" IncludeView="right">{(clang::IncompleteArrayType *)this,view(right)na}</DisplayString>\r
+ <DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Typedef" IncludeView="poly">{(clang::TypedefType *)this,na}</DisplayString>\r
+ <DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Typedef" IncludeView="cpp">{(clang::TypedefType *)this,view(cpp)na}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Attributed" IncludeView="poly">{*(clang::AttributedType *)this}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Decayed" IncludeView="poly">{(clang::DecayedType *)this,na}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::Decayed" IncludeView="left">{(clang::DecayedType *)this,view(left)na}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::TemplateSpecialization" IncludeView="poly">{*(clang::TemplateSpecializationType *)this}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::DeducedTemplateSpecialization" IncludeView="poly">{*(clang::DeducedTemplateSpecializationType *)this}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::InjectedClassName" IncludeView="poly">{*(clang::InjectedClassNameType *)this}</DisplayString>\r
+ <DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::DependentName" IncludeView="poly">{*(clang::DependentNameType *)this}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::Type::TypeClass::PackExpansion" IncludeView="poly">{*(clang::PackExpansionType *)this}</DisplayString>\r
<DisplayString Condition="TypeBits.TC==clang::LocInfoType::LocInfo" IncludeView="poly">{*(clang::LocInfoType *)this}</DisplayString>\r
<DisplayString IncludeView="cpp">{*this,view(poly)}</DisplayString>\r
<ExpandedItem ExcludeView="cmn" Condition="TypeBits.TC==clang::Type::TypeClass::TemplateSpecialization">(clang::TemplateSpecializationType *)this</ExpandedItem>\r
<ExpandedItem ExcludeView="cmn" Condition="TypeBits.TC==clang::Type::TypeClass::DeducedTemplateSpecialization">(clang::DeducedTemplateSpecializationType *)this</ExpandedItem>\r
<ExpandedItem ExcludeView="cmn" Condition="TypeBits.TC==clang::Type::TypeClass::InjectedClassName">(clang::InjectedClassNameType *)this</ExpandedItem>\r
+ <ExpandedItem ExcludeView="cmn" Condition="TypeBits.TC==clang::Type::TypeClass::DependentName">(clang::DependentNameType *)this</ExpandedItem>\r
<ExpandedItem ExcludeView="cmn" Condition="TypeBits.TC==clang::Type::TypeClass::PackExpansion">(clang::PackExpansionType *)this</ExpandedItem>\r
<ExpandedItem ExcludeView="cmn" Condition="TypeBits.TC==clang::LocInfoType::LocInfo">(clang::LocInfoType *)this</ExpandedItem>\r
</Expand>\r
<ExpandedItem>(clang::ArrayType *)this</ExpandedItem>\r
</Expand>\r
</Type>\r
+ <Type Name="clang::TypedefType">\r
+ <DisplayString IncludeView="cpp">{Decl,view(name)nd}</DisplayString>\r
+ <DisplayString>{Decl}</DisplayString>\r
+ <Expand>\r
+ <Item Name="Decl">Decl</Item>\r
+ <ExpandedItem>*(clang::Type *)this, view(cmn)</ExpandedItem>\r
+ </Expand>\r
+ </Type>\r
<Type Name="clang::PointerType">\r
<DisplayString>{PointeeType, view(poly)} *</DisplayString>\r
<Expand>\r
<Item Name="TemplatedDecl">TemplatedDecl,na</Item>\r
</Expand>\r
</Type>\r
+ <!-- Unfortunately, visualization of PointerIntPair<PointerUnion> doesn't work due to limitations in natvis, so we will barehad it-->\r
+ <Type Name="clang::TypedefNameDecl">\r
+ <DisplayString Condition="(MaybeModedTInfo.Value & 4)==0" IncludeView="type">{(clang::TypeSourceInfo *)(MaybeModedTInfo.Value & ~7LL),view(cpp)na}</DisplayString>\r
+ <DisplayString Condition="(MaybeModedTInfo.Value & 4)!=0" IncludeView="type">{(clang::TypedefNameDecl::ModedTInfo *)(MaybeModedTInfo.Value & ~7LL),view(cpp)na}</DisplayString>\r
+ <DisplayString IncludeView="name">{(TypeDecl *)this,view(cpp)nand}</DisplayString>\r
+ <DisplayString>typedef {this,view(type)na} {this,view(name)};</DisplayString>\r
+ <Expand>\r
+ <Item Name="IsTransparent" Condition="(MaybeModedTInfo.Value & 1)==0">"Not yet calculated",sb</Item>\r
+ <Item Name="IsTransparent" Condition="(MaybeModedTInfo.Value & 1)!=0">(bool)(MaybeModedTInfo.Value & 2)</Item>\r
+ <Item Name="TypeSourceInfo" Condition="(MaybeModedTInfo.Value & 4)==0">(clang::TypeSourceInfo *)(MaybeModedTInfo.Value & ~7LL)</Item>\r
+ <Item Name="ModedTInfo" Condition="(MaybeModedTInfo.Value & 4)!=0">(clang::TypedefNameDecl::ModedTInfo *)(MaybeModedTInfo.Value & ~7LL)</Item>\r
+ <ExpandedItem>(TypeDecl *)this,nd</ExpandedItem>\r
+ </Expand>\r
+ </Type>\r
+ <Type Name="clang::TypeAliasDecl">\r
+ <DisplayString>using {(TypedefNameDecl *)this,view(name)nand} = {(TypedefNameDecl *)this,view(type)nand}</DisplayString>\r
+ </Type>\r
+\r
<Type Name="clang::TemplateName">\r
<DisplayString>{Storage,na}</DisplayString>\r
<Expand>\r
<ExpandedItem>*(clang::Type *)this, view(cmn)</ExpandedItem>\r
</Expand>\r
</Type>\r
+ <Type Name="clang::DependentNameType">\r
+ <DisplayString>{NNS}{Name,view(cpp)na}</DisplayString>\r
+ <Expand>\r
+ <Item Name="NNS">NNS</Item>\r
+ <Item Name="Name">Name</Item>\r
+ <ExpandedItem>*(clang::Type *)this, view(cmn)</ExpandedItem>\r
+ </Expand>\r
+ </Type>\r
+ <Type Name="clang::NestedNameSpecifier">\r
+ <DisplayString Condition="!Specifier"></DisplayString>\r
+ <DisplayString Condition="((Prefix.Value>>1)&3) == 0">{(IdentifierInfo*)Specifier,view(cpp)na}::</DisplayString>\r
+ <DisplayString Condition="((Prefix.Value>>1)&3) == 1">{(NamedDecl*)Specifier,view(cpp)na}::</DisplayString>\r
+ <DisplayString Condition="((Prefix.Value>>1)&2) == 2">{(Type*)Specifier,view(cpp)na}::</DisplayString>\r
+ <Expand>\r
+ <Item Name="Kind">(NestedNameSpecifier::StoredSpecifierKind)((Prefix.Value>>1)&3)</Item>\r
+ </Expand>\r
+ </Type>\r
<Type Name="clang::PackExpansionType">\r
<DisplayString>{Pattern}</DisplayString>\r
<Expand>\r
</Expand>\r
</Type>\r
<Type Name="clang::TypeSourceInfo">\r
+ <DisplayString IncludeView="cpp">{Ty,view(cpp)}</DisplayString>\r
<DisplayString>{Ty}</DisplayString>\r
+ <Expand>\r
+ <ExpandedItem>Ty</ExpandedItem>\r
+ </Expand>\r
</Type>\r
<Type Name="clang::TemplateArgumentLoc">\r
<DisplayString>{Argument}</DisplayString>\r