diff options
author | Enrico Granata <granata.enrico@gmail.com> | 2011-07-15 23:30:15 +0000 |
---|---|---|
committer | Enrico Granata <granata.enrico@gmail.com> | 2011-07-15 23:30:15 +0000 |
commit | 9dd75c88869daad7905fbc457809c9be77d6688b (patch) | |
tree | cb6e3be54033c1d489dd854457f807b6e66d80eb /lldb/source/Symbol | |
parent | 6b917bb9b54c0646a7b7b331b5e96419258672fb (diff) | |
download | bcm5719-llvm-9dd75c88869daad7905fbc457809c9be77d6688b.tar.gz bcm5719-llvm-9dd75c88869daad7905fbc457809c9be77d6688b.zip |
System-wide summaries:
- Summaries for char*, const char* and char[] are loaded at startup as
system-wide summaries. This means you cannot delete them unless you use
the -a option to type summary delete/clear
- You can add your own system-wide summaries by using the -w option to type
summary add
Several code improvements for the Python summaries feature
llvm-svn: 135326
Diffstat (limited to 'lldb/source/Symbol')
-rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 2 | ||||
-rw-r--r-- | lldb/source/Symbol/TypeHierarchyNavigator.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 8ccde5ce1e9..f99270a5143 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -117,7 +117,7 @@ GetCompleteQualType (clang::ASTContext *ast, clang::QualType qual_type) clang::ObjCInterfaceDecl *class_interface_decl = objc_class_type->getInterface(); // We currently can't complete objective C types through the newly added ASTContext // because it only supports TagDecl objects right now... - if(class_interface_decl) + if (class_interface_decl) { bool is_forward_decl = class_interface_decl->isForwardDecl(); if (is_forward_decl && class_interface_decl->hasExternalLexicalStorage()) diff --git a/lldb/source/Symbol/TypeHierarchyNavigator.cpp b/lldb/source/Symbol/TypeHierarchyNavigator.cpp index fdbe795be6e..6bf43385358 100644 --- a/lldb/source/Symbol/TypeHierarchyNavigator.cpp +++ b/lldb/source/Symbol/TypeHierarchyNavigator.cpp @@ -61,7 +61,7 @@ TypeHierarchyNavigator::LoopThrough(const clang::QualType& qual_type, */ Error error; ValueObject* target = m_value_object.Dereference(error).get(); - if(error.Fail() || !target) + if (error.Fail() || !target) return true; if (LoopThrough(typePtr->getPointeeType(), callback, eStrippedPointer, callback_baton) == false) return false; @@ -73,10 +73,10 @@ TypeHierarchyNavigator::LoopThrough(const clang::QualType& qual_type, if (ClangASTContext::GetCompleteType(ast, m_value_object.GetClangType()) && !objc_class_type->isObjCId()) { clang::ObjCInterfaceDecl *class_interface_decl = objc_class_type->getInterface(); - if(class_interface_decl) + if (class_interface_decl) { clang::ObjCInterfaceDecl *superclass_interface_decl = class_interface_decl->getSuperClass(); - if(superclass_interface_decl) + if (superclass_interface_decl) { clang::QualType ivar_qual_type(ast->getObjCInterfaceType(superclass_interface_decl)); return LoopThrough(ivar_qual_type, callback, eObjCBaseClass, callback_baton); @@ -95,7 +95,7 @@ TypeHierarchyNavigator::LoopThrough(const clang::QualType& qual_type, if (record->hasDefinition()) { clang::CXXRecordDecl::base_class_iterator pos,end; - if( record->getNumBases() > 0) + if ( record->getNumBases() > 0) { end = record->bases_end(); for (pos = record->bases_begin(); pos != end; pos++) |