From 288da8c61864d422522998eec9497f0863b13455 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 3 Mar 2014 21:15:07 +0000 Subject: [PATCH] Adding support for MSVC debugger visualization of the Optional datatype. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202760 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/llvm.natvis | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/utils/llvm.natvis b/utils/llvm.natvis index 373bf963e19..9874ce58d25 100644 --- a/utils/llvm.natvis +++ b/utils/llvm.natvis @@ -166,4 +166,12 @@ or create a symbolic link so it updates automatically. {Data} + + + empty + {*(($T1 *)(unsigned char *)storage.buffer)} + + *(($T1 *)(unsigned char *)storage.buffer) + +