[llvm] r338202 - Add VS natvis support for LLVMDemangle's StringView.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 28 10:25:42 PDT 2018
Author: zturner
Date: Sat Jul 28 10:25:42 2018
New Revision: 338202
URL: http://llvm.org/viewvc/llvm-project?rev=338202&view=rev
Log:
Add VS natvis support for LLVMDemangle's StringView.
Modified:
llvm/trunk/utils/LLVMVisualizers/llvm.natvis
Modified: llvm/trunk/utils/LLVMVisualizers/llvm.natvis
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/LLVMVisualizers/llvm.natvis?rev=338202&r1=338201&r2=338202&view=diff
==============================================================================
--- llvm/trunk/utils/LLVMVisualizers/llvm.natvis (original)
+++ llvm/trunk/utils/LLVMVisualizers/llvm.natvis Sat Jul 28 10:25:42 2018
@@ -68,6 +68,10 @@ For later versions of Visual Studio, no
</Expand>
</Type>
+ <Type Name="StringView">
+ <DisplayString>{First,[Last - First]s}</DisplayString>
+ </Type>
+
<Type Name="llvm::StringRef">
<DisplayString>{Data,[Length]s}</DisplayString>
<StringView>Data,[Length]s</StringView>
More information about the llvm-commits
mailing list