summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Spertus <mike@spertus.com>2016-04-04 19:36:48 +0000
committerMike Spertus <mike@spertus.com>2016-04-04 19:36:48 +0000
commit8874ef7cf114aa408686ed10ed8cb8aa4cd78af5 (patch)
treeb50494da276560a5960627b20044e5cb3e8988f5
parenta82a58a4e54a5233d90d08c7e78e94282d74c3f0 (diff)
downloadbcm5719-llvm-8874ef7cf114aa408686ed10ed8cb8aa4cd78af5.tar.gz
bcm5719-llvm-8874ef7cf114aa408686ed10ed8cb8aa4cd78af5.zip
Fix redundant "typename typename T" in Visual Studio Native Visualizer
Also, a little minor cleanup llvm-svn: 265338
-rw-r--r--clang/utils/ClangVisualizers/clang.natvis5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/utils/ClangVisualizers/clang.natvis b/clang/utils/ClangVisualizers/clang.natvis
index 6e4bdf379c0..62ded3c0d89 100644
--- a/clang/utils/ClangVisualizers/clang.natvis
+++ b/clang/utils/ClangVisualizers/clang.natvis
@@ -57,8 +57,8 @@ For later versions of Visual Studio, no setup is required-->
<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 setup is required-->
</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>
OpenPOWER on IntegriCloud