r264169 - Visualize fields of records as they were declared in Visual Studio debugger

Mike Spertus via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 23 10:29:43 PDT 2016


Author: mps
Date: Wed Mar 23 12:29:42 2016
New Revision: 264169

URL: http://llvm.org/viewvc/llvm-project?rev=264169&view=rev
Log:
Visualize fields of records as they were declared in Visual Studio debugger

Modified:
    cfe/trunk/utils/clang.natvis

Modified: cfe/trunk/utils/clang.natvis
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/clang.natvis?rev=264169&r1=264168&r2=264169&view=diff
==============================================================================
--- cfe/trunk/utils/clang.natvis (original)
+++ cfe/trunk/utils/clang.natvis Wed Mar 23 12:29:42 2016
@@ -95,7 +95,7 @@ or create a symbolic link so it updates
     </Expand>
   </Type>
   <Type Name="clang::FieldDecl">
-    <DisplayString>Field {{{*(clang::NamedDecl *)this,view(cpp)nd}}}</DisplayString>
+    <DisplayString>Field {{{*(clang::DeclaratorDecl *)this,view(cpp)nd}}}</DisplayString>
   </Type>
   <Type Name="clang::CXXMethodDecl">
     <DisplayString IncludeView="cpp">{*(clang::FunctionDecl *)this,nd}</DisplayString>




More information about the cfe-commits mailing list