]> granicus.if.org Git - clang/commit
Add lldb data formatters for clang classes, starting with SourceLocation.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 9 Nov 2012 22:59:01 +0000 (22:59 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 9 Nov 2012 22:59:01 +0000 (22:59 +0000)
commite9d417d9fcefc50dfb75388cdc641cf8894cdd71
treedeb114d98b3a4cbfad70c36b3ecd45ce71769192
parent762d15d5dccf818bd88c80e957390e31e41b9277
Add lldb data formatters for clang classes, starting with SourceLocation.

When installed, instead of getting this:

(lldb) p Tok.Loc
(clang::SourceLocation) $0 = {
  (unsigned int) ID = 123582
}

you'll get:

(lldb) p Tok.Loc
(clang::SourceLocation) $4 = "/usr/include/i386/_types.h:37:1" (offset: 123582, file)

This depends on r167629.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167640 91177308-0d34-0410-b5e6-96231b3b80d8
utils/ClangDataFormat.py [new file with mode: 0644]