diff options
author | Mike Spertus <mike@spertus.com> | 2016-06-06 03:37:18 +0000 |
---|---|---|
committer | Mike Spertus <mike@spertus.com> | 2016-06-06 03:37:18 +0000 |
commit | 9855ec1d7fe3fda2af067d175ac80ea605690e4a (patch) | |
tree | 4f754319ec49b923ecaa777a6a593c1d418335c7 /utils | |
parent | eca42d2ba43442c54ae83a205e87151c579ae5d1 (diff) |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ClangVisualizers/clang.natvis | 2 |
1 files changed, 1 insertions, 1 deletions
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--> </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>
|