Visualizer for Pack template arguments

llvm-svn: 270505
This commit is contained in:
Mike Spertus 2016-05-23 22:27:44 +00:00
parent d9517cb36f
commit 64aa76d9ca
1 changed files with 6 additions and 1 deletions

View File

@ -231,9 +231,14 @@ For later versions of Visual Studio, no setup is required-->
</Type>
<Type Name="clang::TemplateArgument">
<DisplayString IncludeView="cpp">{*(clang::QualType *)&amp;TypeOrValue.V,view(cpp)}</DisplayString>
<DisplayString>{(clang::TemplateArgument::ArgKind)TypeOrValue.Kind,en} template parameter: {*(clang::QualType *)&amp;TypeOrValue.V}</DisplayString>
<DisplayString Condition="Integer.Kind == clang::TemplateArgument::ArgKind::Type">{(clang::TemplateArgument::ArgKind)TypeOrValue.Kind,en} template parameter: {*(clang::QualType *)&amp;TypeOrValue.V}</DisplayString>
<DisplayString>{(clang::TemplateArgument::ArgKind)TypeOrValue.Kind,en}</DisplayString>
<Expand>
<Item Name="QualType" Condition="Integer.Kind == clang::TemplateArgument::ArgKind::Type">*(clang::QualType *)&amp;TypeOrValue.V</Item>
<ArrayItems Condition="Integer.Kind == clang::TemplateArgument::ArgKind::Pack">
<Size>Args.NumArgs</Size>
<ValuePointer>Args.Args</ValuePointer>
</ArrayItems>
<!-- TODO: Other kinds-->
</Expand>
</Type>