r271866 - Slightly improve Visual Studio visualization of clang::Expr
Mike Spertus via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 5 20:37:20 PDT 2016
Author: mps
Date: Sun Jun 5 22:37:18 2016
New Revision: 271866
URL: http://llvm.org/viewvc/llvm-project?rev=271866&view=rev
Log:
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.
Modified:
cfe/trunk/utils/ClangVisualizers/clang.natvis
Modified: cfe/trunk/utils/ClangVisualizers/clang.natvis
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ClangVisualizers/clang.natvis?rev=271866&r1=271865&r2=271866&view=diff
==============================================================================
--- cfe/trunk/utils/ClangVisualizers/clang.natvis (original)
+++ cfe/trunk/utils/ClangVisualizers/clang.natvis Sun Jun 5 22:37:18 2016
@@ -424,6 +424,6 @@ For later versions of Visual Studio, no
</Expand>
</Type>
<Type Name="clang::Expr">
- <DisplayString>Expression of type {TR,view(cpp)}</DisplayString>
+ <DisplayString>Expression of class {(clang::Stmt::StmtClass)StmtBits.sClass,en} and type {TR,view(cpp)}</DisplayString>
</Type>
</AutoVisualizer>
More information about the cfe-commits
mailing list