blob: f9f834b76c5021847bdb6064a4d0225479e49129 [file] [log] [blame]
Douglas Gregor3ef1ad22011-07-27 05:22:46 +00001
2[Visualizer]
3
4llvm::SmallVector<*,*>{
5 preview (
6 #(
7 "[",
8 ($T1*)$e.EndX - ($T1*)$e.BeginX,
9 "](",
10 #array(
11 expr: (($T1*)$e.BeginX)[$i],
12 size: ($T1*)$e.EndX - ($T1*)$e.BeginX
13 ),
14 ")"
15 )
16 )
17
18 children (
19 #(
20 #([size] : ($T1*)$e.EndX - ($T1*)$e.BeginX),
21 #([capacity] : ($T1*)$e.CapacityX - ($T1*)$e.BeginX),
22 #array(
23 expr: (($T1*)$e.BeginX)[$i],
24 size: ($T1*)$e.EndX - ($T1*)$e.BeginX
25 )
26 )
27 )
28}
29
30llvm::StringRef{
31 preview ([$e.Data,s])
32 stringview ([$e.Data,sb])
33
34 children (
35 #(
36 #([size] : $e.Length),
37 #array(expr: $e.Data[$i], size: $e.Length)
38 )
39 )
40}
41
42clang::Token{
43 preview((clang::tok::TokenKind)(int)$e.Kind)
44}