Improve Visual Studio visualization of DeclaratorDecl

With this change, you can now expand its name and type.

llvm-svn: 271966
This commit is contained in:
Mike Spertus 2016-06-07 00:27:37 +00:00
parent 6f3406df67
commit 8a0a1d7385
1 changed files with 4 additions and 0 deletions

View File

@ -403,6 +403,10 @@ For later versions of Visual Studio, no setup is required-->
</Type>
<Type Name="clang::DeclaratorDecl">
<DisplayString>{DeclType,view(cpp)} {Name,view(cpp)}</DisplayString>
<Expand>
<Item Name="Name">Name</Item>
<Item Name="DeclType">DeclType</Item>
</Expand>
</Type>
<Type Name="clang::VarDecl">
<DisplayString>{*(DeclaratorDecl*)this,nd}</DisplayString>