forked from OSchip/llvm-project
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:
parent
ec988b76cc
commit
819fb787ce
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue