diff options
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++) |