Commit Graph

7 Commits

Author SHA1 Message Date
Argyrios Kyrtzidis 34983d5f8f [utils/ClangDataFormat.py] Don't use lldb.frame directly, get the frame from the value.
Some lldb changes made lldb.frame not set until a script is invoked, which made the
formatters not working after a restart.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172017 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-09 23:22:08 +00:00
Argyrios Kyrtzidis fc0eb2a77b [ClangDataFormat.py] Add summary for QualType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168117 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-16 00:25:26 +00:00
Argyrios Kyrtzidis 596be9372b [utils/ClangDataFormat.py] For invalid source locations just return
"<invalid loc>" for summary.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168087 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-15 20:59:00 +00:00
Argyrios Kyrtzidis 1a03b262d0 [utils/ClangDataFormat.py] Add data formatter for StringRef.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168003 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-14 23:52:19 +00:00
Argyrios Kyrtzidis 29a67e8f3a [utils/ClangDataFormat.py] In the summary of SourceLocation, include whether it is
local or loaded.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168002 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-14 23:52:11 +00:00
Argyrios Kyrtzidis 6af1405ad2 Remove leftover code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167641 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-09 23:02:10 +00:00
Argyrios Kyrtzidis e9d417d9fc 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
2012-11-09 22:59:01 +00:00