Douglas Gregor | 3ef1ad2 | 2011-07-27 05:22:46 +0000 | [diff] [blame] | 1 | |
| 2 | [Visualizer] |
| 3 | |
| 4 | llvm::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 | |
| 30 | llvm::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 | |
| 42 | clang::Token{ |
| 43 | preview((clang::tok::TokenKind)(int)$e.Kind) |
| 44 | } |