Add SmallVectorImpl Visual Studio visualizer. Patch by Nikola Smiljanic.

llvm-svn: 155140
This commit is contained in:
David Blaikie 2012-04-19 17:26:49 +00:00
parent c5caf7291c
commit 2e3380308e
1 changed files with 26 additions and 0 deletions

View File

@ -27,6 +27,32 @@ llvm::SmallVector<*,*>{
)
}
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])