r272441 - Added missing close brace to OpaquePtr Visual Studio visualizer

Mike Spertus via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 10 15:25:43 PDT 2016


Author: mps
Date: Fri Jun 10 17:25:43 2016
New Revision: 272441

URL: http://llvm.org/viewvc/llvm-project?rev=272441&view=rev
Log:
Added missing close brace to OpaquePtr Visual Studio visualizer

This syntax error resulted in garbage being appended to OpaquePtr visualizations

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=272441&r1=272440&r2=272441&view=diff
==============================================================================
--- cfe/trunk/utils/ClangVisualizers/clang.natvis (original)
+++ cfe/trunk/utils/ClangVisualizers/clang.natvis Fri Jun 10 17:25:43 2016
@@ -452,7 +452,7 @@ For later versions of Visual Studio, no
     </Expand>
   </Type>
   <Type Name="clang::OpaquePtr<*>">
-    <DisplayString>{($T1 *)Ptr</DisplayString>
+    <DisplayString>{($T1 *)Ptr}</DisplayString>
     <Expand>
       <ExpandedItem>($T1 *)Ptr</ExpandedItem>
     </Expand>




More information about the cfe-commits mailing list