forked from OSchip/llvm-project
Add SmallVectorImpl Visual Studio visualizer. Patch by Nikola Smiljanic.
llvm-svn: 155140
This commit is contained in:
parent
c5caf7291c
commit
2e3380308e
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue