Index: clang.natvis
===================================================================
--- clang.natvis
+++ clang.natvis
@@ -137,6 +137,7 @@
+ {ResultType,view(cpp)}
{*(clang::QualType *)(this+1),view(cpp)}{*this,view(parm1)}
@@ -149,7 +150,7 @@
, {*((clang::QualType *)(this+1)+4),view(cpp)}{*this,view(parm5)}
, /* expand for more params */
- {ResultType,view(cpp)}({*this,view(parm0)})
+ {*this,view(retType)}({*this,view(parm0)})
- ResultType
@@ -234,6 +235,7 @@
+
Empty
{*(clang::IdentifierInfo *)(Ptr & ~PtrMask)}
{{Identifier ({*(clang::IdentifierInfo *)(Ptr & ~PtrMask)})}}
@@ -270,12 +272,50 @@
- (clang::VarDecl::InitializationStyle)InitStyle
+
+ {DeclType,view(cpp)} {Name,view(cpp)}
+
- {Name}
+ {*(DeclaratorDecl*)this,nd}
*(DeclaratorDecl*)this,nd
- VarDeclBits
+
+
+
+ {*(VarDecl*)this,nd}
+
- ParmVarDeclBits
+ *(VarDecl*)this,nd
+
+
+
+ {*(clang::FunctionProtoType *)((clang::ExtQualsTypeCommonBase *)(((uintptr_t)DeclType.Value.Value) & ~15))->BaseType,view(retType)}
+
+ {*ParamInfo[0]}{*this,view(parm1)}
+
+ , {*ParamInfo[1]}{*this,view(parm2)}
+
+ , {*ParamInfo[2]}{*this,view(parm3)}
+
+ , {*ParamInfo[3]}{*this,view(parm4)}
+
+ , {*ParamInfo[4]}{*this,view(parm5)}
+
+ , /* expand for more params */
+ {*this,view(retType)} {Name,view(cpp)}({*this,view(parm0)})
+
+ - *this,view(retType)
+
+ {*this,view(parm0)}
+
+
+ ((clang::FunctionProtoType *)((clang::ExtQualsTypeCommonBase *)(((uintptr_t)DeclType.Value.Value) & ~15))->BaseType)->NumParams
+ ParamInfo
+
+
+
+ *(clang::Type *)this, view(cmn)