r265338 - Fix redundant "typename typename T" in Visual Studio Native Visualizer
Mike Spertus via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 4 12:36:49 PDT 2016
Author: mps
Date: Mon Apr 4 14:36:48 2016
New Revision: 265338
URL: http://llvm.org/viewvc/llvm-project?rev=265338&view=rev
Log:
Fix redundant "typename typename T" in Visual Studio Native Visualizer
Also, a little minor cleanup
Modified:
cfe/trunk/utils/ClangVisualizers/clang.natvis
Modified: cfe/trunk/utils/ClangVisualizers/clang.natvis
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ClangVisualizers/clang.natvis?rev=265338&r1=265337&r2=265338&view=diff
==============================================================================
--- cfe/trunk/utils/ClangVisualizers/clang.natvis (original)
+++ cfe/trunk/utils/ClangVisualizers/clang.natvis Mon Apr 4 14:36:48 2016
@@ -57,8 +57,8 @@ For later versions of Visual Studio, no
<Type Name="clang::PointerType">
<DisplayString>{PointeeType, view(poly)} *</DisplayString>
<Expand>
- <ExpandedItem>*(clang::Type *)this, view(cmn)</ExpandedItem>
<Item Name="PointeeType">PointeeType</Item>
+ <ExpandedItem>*(clang::Type *)this, view(cmn)</ExpandedItem>
</Expand>
</Type>
<!-- We visualize all inner types for clang reference types. So a rvalue reference to an lvalue reference
@@ -191,7 +191,8 @@ For later versions of Visual Studio, no
</Expand>
</Type>
<Type Name="clang::TemplateTypeParmType">
- <DisplayString>typename {*TTPDecl,view(cpp)}</DisplayString>
+ <DisplayString IncludeView="cpp">{*TTPDecl,view(cpp)}</DisplayString>
+ <DisplayString>{*TTPDecl}</DisplayString>
</Type>
<Type Name="clang::InjectedClassNameType">
<DisplayString>{*Decl,view(cpp)}</DisplayString>
More information about the cfe-commits
mailing list