Visualize ellipses in TemplateTypeParm and TemplateTypeParmDecl

Now a TemplateTypeParm will be visualized as typename ...T if it is a pack

llvm-svn: 270521
This commit is contained in:
Mike Spertus 2016-05-24 01:47:41 +00:00
parent ec988b76cc
commit 819fb787ce
1 changed files with 5 additions and 2 deletions

View File

@ -113,8 +113,11 @@ For later versions of Visual Studio, no setup is required-->
<DisplayString>Destructor {{~{Name,view(cpp)}()}}</DisplayString>
</Type>
<Type Name="clang::TemplateTypeParmDecl">
<DisplayString Condition="!Typename">class {Name,view(cpp)}</DisplayString>
<DisplayString>typename {Name,view(cpp)}</DisplayString>
<DisplayString IncludeView="TorC" Condition="Typename">typename</DisplayString>
<DisplayString IncludeView="TorC" Condition="!Typename">class</DisplayString>
<DisplayString IncludeView="MaybeEllipses" Condition="((TemplateTypeParmType *)TypeForDecl)->CanTTPTInfo.ParameterPack">...</DisplayString>
<DisplayString IncludeView="MaybeEllipses" Condition="!((TemplateTypeParmType *)TypeForDecl)->CanTTPTInfo.ParameterPack"></DisplayString>
<DisplayString>{*this,view(TorC)} {*this,view(MaybeEllipses)}{Name,view(cpp)}</DisplayString>
</Type>
<Type Name="clang::TemplateDecl">
<DisplayString>template{*TemplateParams} {*TemplatedDecl};</DisplayString>