r350167 - DeclAccessPair visualizer should be expandable
Mike Spertus via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 30 12:22:37 PST 2018
Author: mps
Date: Sun Dec 30 12:22:37 2018
New Revision: 350167
URL: http://llvm.org/viewvc/llvm-project?rev=350167&view=rev
Log:
DeclAccessPair visualizer should be expandable
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=350167&r1=350166&r2=350167&view=diff
==============================================================================
--- cfe/trunk/utils/ClangVisualizers/clang.natvis (original)
+++ cfe/trunk/utils/ClangVisualizers/clang.natvis Sun Dec 30 12:22:37 2018
@@ -553,6 +553,10 @@ For later versions of Visual Studio, no
<DisplayString IncludeView="access" Condition="(Ptr&Mask) == clang::AS_none">b</DisplayString>
<DisplayString IncludeView="decl">{*(clang::NamedDecl *)(Ptr&~Mask)}</DisplayString>
<DisplayString>{*this,view(access)} {*this,view(decl)}</DisplayString>
+ <Expand>
+ <Item Name="access">(clang::AccessSpecifier)(Ptr&Mask),en</Item>
+ <Item Name="decl">*(clang::NamedDecl *)(Ptr&~Mask)</Item>
+ </Expand>
</Type>
<Type Name="clang::UnresolvedSet<*>">
<DisplayString>{Decls}</DisplayString>
More information about the cfe-commits
mailing list