diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cc1b956..79b89d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,6 +14,8 @@ PRIVATE IOHelper.cpp StringHelper.cpp WinFctHelper.cpp + # Natvis (only for MSVC) + $<$:YYCC.natvis> ) target_sources(YYCCommonplace PUBLIC diff --git a/src/YYCC.natvis b/src/YYCC.natvis new file mode 100644 index 0000000..51fe2a4 --- /dev/null +++ b/src/YYCC.natvis @@ -0,0 +1,73 @@ + + + + + + + + + + + + + {_Bx._Buf,s8} + {_Bx._Ptr,s8} + _Bx._Buf,s8 + _Bx._Ptr,s8 + + _Mysize + _Myres + + _Mysize + _Bx._Buf + _Bx._Ptr + + + + + + + + + + + + + + + {_Mypair._Myval2._Bx._Buf,s8} + {_Mypair._Myval2._Bx._Ptr,s8} + _Mypair._Myval2._Bx._Buf,s8 + _Mypair._Myval2._Bx._Ptr,s8 + + size() + capacity() + _Mypair + + _Mypair._Myval2._Mysize + _Mypair._Myval2._Bx._Buf + _Mypair._Myval2._Bx._Ptr + + + + + + + + + + {_Mydata,[_Mysize],s8} + _Mydata,[_Mysize],s8 + + size() + + size() + data() + + + + +