[cfe-commits] SmallVectorImpl visualizer for Visual Studio
Nikola Smiljanic
popizdeh at gmail.com
Thu Apr 19 10:17:16 PDT 2012
Please commit.
-------------- next part --------------
Index: utils/clangVisualizers.txt
===================================================================
--- utils/clangVisualizers.txt (revision 155007)
+++ utils/clangVisualizers.txt (working copy)
@@ -27,6 +27,32 @@
)
}
+llvm::SmallVectorImpl<*>{
+ preview (
+ #(
+ "[",
+ ($T1*)$e.EndX - ($T1*)$e.BeginX,
+ "](",
+ #array(
+ expr: (($T1*)$e.BeginX)[$i],
+ size: ($T1*)$e.EndX - ($T1*)$e.BeginX
+ ),
+ ")"
+ )
+ )
+
+ children (
+ #(
+ #([size] : ($T1*)$e.EndX - ($T1*)$e.BeginX),
+ #([capacity] : ($T1*)$e.CapacityX - ($T1*)$e.BeginX),
+ #array(
+ expr: (($T1*)$e.BeginX)[$i],
+ size: ($T1*)$e.EndX - ($T1*)$e.BeginX
+ )
+ )
+ )
+}
+
llvm::StringRef{
preview ([$e.Data,s])
stringview ([$e.Data,sb])
More information about the cfe-commits
mailing list