diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-07-22 22:01:35 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-07-22 22:01:35 +0000 |
commit | 36d7d91616c1f27ed7c734c4419aa76cd1c71e1a (patch) | |
tree | bf7c912a1bcc749b7f057ac3126076c2b00e4b05 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | c391a58b2bbbbe1bab184198ac0761bf7831ac14 (diff) | |
download | llvm-36d7d91616c1f27ed7c734c4419aa76cd1c71e1a.zip llvm-36d7d91616c1f27ed7c734c4419aa76cd1c71e1a.tar.gz llvm-36d7d91616c1f27ed7c734c4419aa76cd1c71e1a.tar.bz2 |
Add an additional formatter class RecursiveDecentFormatter which prints the
value and the decendents. For an example,
rdf = lldbutil.RecursiveDecentFormatter(indent_child=2)
print rdf.format(g_table)
produces:
(const char **[2]) g_table = 0x00000001055a80f0 (location)
(const char **) [0] = 0x00000001055a8080
(const char *) *[0] = "Sunday"
(const char **) [1] = 0x00000001055a80c0
(const char *) *[1] = "Monday"
llvm-svn: 135815
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions