1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 Visual Studio 2012 Native Debugging Visualizers for LLVM
5 Put this file into "%USERPROFILE%\Documents\Visual Studio 2012\Visualizers"
6 or create a symbolic link so it updates automatically.
8 <AutoVisualizer xmlns=
"http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
9 <Type Name=
"clang::IdentifierInfo">
10 <DisplayString Condition=
"Entry != 0">({((llvm::StringMapEntry
<clang::IdentifierInfo *
>*)Entry)+
1,s})
</DisplayString>
12 <Item Condition=
"Entry != 0" Name=
"[Identifier]">((llvm::StringMapEntry
<clang::IdentifierInfo *
>*)Entry)+
1,s
</Item>
13 <Item Name=
"Token Kind">(clang::tok::TokenKind)TokenID
</Item>
16 <Type Name=
"clang::DeclarationName">
17 <DisplayString Condition=
"Ptr == 0">Empty
</DisplayString>
18 <DisplayString Condition=
"(Ptr & PtrMask) == StoredIdentifier">{{Identifier ({*(clang::IdentifierInfo *)(Ptr
& ~PtrMask)})}}
</DisplayString>
19 <DisplayString Condition=
"(Ptr & PtrMask) == StoredObjCZeroArgSelector">{{ObjC Zero Arg Selector (*{(clang::IdentifierInfo *)(Ptr
& ~PtrMask)})}}
</DisplayString>
20 <DisplayString Condition=
"(Ptr & PtrMask) == StoredObjCOneArgSelector">{{ObjC One Arg Selector (*{(clang::IdentifierInfo *)(Ptr
& ~PtrMask)})}}
</DisplayString>
21 <DisplayString Condition=
"(Ptr & PtrMask) == StoredDeclarationNameExtra">{{Extra ({(clang::DeclarationNameExtra::ExtraKind)((clang::DeclarationNameExtra *)(Ptr
& ~PtrMask))-
>ExtraKindOrNumArgs})}}
</DisplayString>
23 <Item Condition=
"(Ptr & PtrMask) == StoredIdentifier" Name=
"[Identifier]">*(clang::IdentifierInfo *)(Ptr
& ~PtrMask)
</Item>
24 <Item Condition=
"(Ptr & PtrMask) == StoredObjCZeroArgSelector" Name=
"[ObjC Zero Arg Selector]">*(clang::IdentifierInfo *)(Ptr
& ~PtrMask)
</Item>
25 <Item Condition=
"(Ptr & PtrMask) == StoredObjCOneArgSelector" Name=
"[ObjC One Arg Selector]">*(clang::IdentifierInfo *)(Ptr
& ~PtrMask)
</Item>
26 <Item Condition=
"(Ptr & PtrMask) == StoredDeclarationNameExtra" Name=
"[Extra]">(clang::DeclarationNameExtra::ExtraKind)((clang::DeclarationNameExtra *)(Ptr
& ~PtrMask))-
>ExtraKindOrNumArgs
</Item>
29 <Type Name=
"clang::Token">
30 <DisplayString>{(clang::tok::TokenKind)Kind}
</DisplayString>
32 <Type Name=
"clang::DeclSpec">
33 <DisplayString>[{(clang::DeclSpec::SCS)StorageClassSpec}], [{(clang::TypeSpecifierType)TypeSpecType}]
</DisplayString>
35 <Type Name=
"clang::PragmaHandler">
36 <DisplayString>{Name,s}
</DisplayString>
38 <Type Name=
"clang::FileEntry">
39 <DisplayString>{Name,s}
</DisplayString>
41 <Type Name=
"clang::DirectoryEntry">
42 <DisplayString>{Name,s}
</DisplayString>
44 <Type Name=
"clang::VarDecl::VarDeclBitfields">
46 <Item Name=
"StorageClass">(clang::StorageClass)SClass
</Item>
47 <Item Name=
"ThreadStorageClass">(clang::ThreadStorageClassSpecifier)TSCSpec
</Item>
48 <Item Name=
"InitStyle">(clang::VarDecl::InitializationStyle)InitStyle
</Item>
51 <Type Name=
"clang::VarDecl">
52 <DisplayString>{Name}
</DisplayString>
54 <ExpandedItem>*(DeclaratorDecl*)this,nd
</ExpandedItem>
55 <Item Name=
"VarDeclBits">VarDeclBits
</Item>
56 <Item Name=
"ParmVarDeclBits">ParmVarDeclBits
</Item>