From: Mike Spertus Date: Mon, 6 Jun 2016 03:37:18 +0000 (+0000) Subject: Slightly improve Visual Studio visualization of clang::Expr X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9855ec1d7fe3fda2af067d175ac80ea605690e4a;p=clang Slightly improve Visual Studio visualization of clang::Expr Now it gives the StmtClass of the Expr as well as the type. It's still a long way from full visualization of expressions, but I have found that having the class really helps when debugging, so definitely worth submitting. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271866 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/ClangVisualizers/clang.natvis b/utils/ClangVisualizers/clang.natvis index 97f0b0d5f8..2b0a502207 100644 --- a/utils/ClangVisualizers/clang.natvis +++ b/utils/ClangVisualizers/clang.natvis @@ -424,6 +424,6 @@ For later versions of Visual Studio, no setup is required--> - Expression of type {TR,view(cpp)} + Expression of class {(clang::Stmt::StmtClass)StmtBits.sClass,en} and type {TR,view(cpp)}