]> granicus.if.org Git - clang/commitdiff
Simple visualization of expressions
authorMike Spertus <mike@spertus.com>
Mon, 16 May 2016 01:36:09 +0000 (01:36 +0000)
committerMike Spertus <mike@spertus.com>
Mon, 16 May 2016 01:36:09 +0000 (01:36 +0000)
While more could be done, showing the type is a lot better than what is there now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269623 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ClangVisualizers/clang.natvis

index 62ded3c0d890a51a8bbea54b0a565196809d8488..453b6f448e3df9f304ed91ab55ced60dc659a7cf 100644 (file)
@@ -415,4 +415,7 @@ For later versions of Visual Studio, no setup is required-->
       </ArrayItems>\r
     </Expand>\r
   </Type>\r
+  <Type Name="clang::Expr">\r
+    <DisplayString>Expression of type {TR,view(cpp)}</DisplayString>\r
+  </Type>\r
 </AutoVisualizer>\r