summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ASTDumper.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-10-07 23:18:13 +0000
committerSean Callanan <scallanan@apple.com>2011-10-07 23:18:13 +0000
commit880e680fa3ac5cb7c9d4a42ad69c5590b4cab0ac (patch)
tree1598270efe28fb84f765cd07d5bcfccb155975b9 /lldb/source/Expression/ASTDumper.cpp
parent883ec9711530053a0f38e2cd3ef2b72af6e2ebea (diff)
downloadbcm5719-llvm-880e680fa3ac5cb7c9d4a42ad69c5590b4cab0ac.tar.gz
bcm5719-llvm-880e680fa3ac5cb7c9d4a42ad69c5590b4cab0ac.zip
Updated LLVM/Clang to pull in the latest ARM disassembler.
This involved minor changes to the way we report Objective-C methods, as well as cosmetic changes and added parameters for a variety of Clang APIs. llvm-svn: 141437
Diffstat (limited to 'lldb/source/Expression/ASTDumper.cpp')
-rw-r--r--lldb/source/Expression/ASTDumper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ASTDumper.cpp b/lldb/source/Expression/ASTDumper.cpp
index 8194233792e..3f6104b7fde 100644
--- a/lldb/source/Expression/ASTDumper.cpp
+++ b/lldb/source/Expression/ASTDumper.cpp
@@ -245,7 +245,7 @@ void ASTDumper::VisitTypeDecl (clang::TypeDecl *type_decl)
void ASTDumper::VisitTagDecl (clang::TagDecl *tag_decl)
{
m_stream.Indent(); m_stream.Printf("class : TagDecl\n");
- m_stream.Indent(); m_stream.Printf("isDefinition() : %s\n", SfB(tag_decl->isDefinition()));
+ m_stream.Indent(); m_stream.Printf("getDefinition() : %s\n", SfB((bool)tag_decl->getDefinition()));
m_stream.Indent(); m_stream.Printf("isBeingDefined() : %s\n", SfB(tag_decl->isBeingDefined()));
m_stream.Indent(); m_stream.Printf("isEmbeddedInDeclarator() : %s\n", SfB(tag_decl->isEmbeddedInDeclarator()));
m_stream.Indent(); m_stream.Printf("isDependentType() : %s\n", SfB(tag_decl->isDependentType()));
@@ -416,7 +416,7 @@ void ASTDumper::VisitType (const clang::Type *type)
switch (type->getScalarTypeKind())
{
default: m_stream.Printf("~\n"); break;
- case clang::Type::STK_Pointer: m_stream.Printf("STK_Pointer\n"); break;
+ case clang::Type::STK_CPointer: m_stream.Printf("STK_CPointer\n"); break;
case clang::Type::STK_MemberPointer: m_stream.Printf("STK_MemberPointer\n"); break;
case clang::Type::STK_Bool: m_stream.Printf("STK_Bool\n"); break;
case clang::Type::STK_Integral: m_stream.Printf("STK_Integral\n"); break;
OpenPOWER on IntegriCloud