r272518 - Rudimentary support for Visual Studio Stmt visualizer

Mike Spertus via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 12 11:42:05 PDT 2016


Author: mps
Date: Sun Jun 12 13:42:04 2016
New Revision: 272518

URL: http://llvm.org/viewvc/llvm-project?rev=272518&view=rev
Log:
Rudimentary support for Visual Studio Stmt visualizer

Better than nothing...

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=272518&r1=272517&r2=272518&view=diff
==============================================================================
--- cfe/trunk/utils/ClangVisualizers/clang.natvis (original)
+++ cfe/trunk/utils/ClangVisualizers/clang.natvis Sun Jun 12 13:42:04 2016
@@ -491,6 +491,12 @@ For later versions of Visual Studio, no
       </ArrayItems>
     </Expand>
   </Type>
+  <Type Name="clang::Stmt">
+    <DisplayString>{(clang::Stmt::StmtClass)StmtBits.sClass,en}</DisplayString>
+    <Expand>
+      <Item Name="Class">(clang::Stmt::StmtClass)StmtBits.sClass,en</Item>
+    </Expand>
+  </Type>
   <Type Name="clang::Expr">
     <DisplayString>Expression of class {(clang::Stmt::StmtClass)StmtBits.sClass,en} and type {TR,view(cpp)}</DisplayString>
   </Type>




More information about the cfe-commits mailing list