]> granicus.if.org Git - clang/commitdiff
Visualize fields of records as they were declared in Visual Studio debugger
authorMike Spertus <mike@spertus.com>
Wed, 23 Mar 2016 17:29:42 +0000 (17:29 +0000)
committerMike Spertus <mike@spertus.com>
Wed, 23 Mar 2016 17:29:42 +0000 (17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264169 91177308-0d34-0410-b5e6-96231b3b80d8

utils/clang.natvis

index 7abc7fa363012b21d322dbd8ac02e3ca17e0fa6a..6d9949ddc0b8e109655635852dbf7a6e670de4bf 100644 (file)
@@ -95,7 +95,7 @@ or create a symbolic link so it updates automatically.
     </Expand>\r
   </Type>\r
   <Type Name="clang::FieldDecl">\r
-    <DisplayString>Field {{{*(clang::NamedDecl *)this,view(cpp)nd}}}</DisplayString>\r
+    <DisplayString>Field {{{*(clang::DeclaratorDecl *)this,view(cpp)nd}}}</DisplayString>\r
   </Type>\r
   <Type Name="clang::CXXMethodDecl">\r
     <DisplayString IncludeView="cpp">{*(clang::FunctionDecl *)this,nd}</DisplayString>\r