[Lldb-commits] [PATCH] D70580: Register Objective-C property accessors with their property decls.

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 22 09:31:12 PST 2019


JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lldb/source/Symbol/ClangASTContext.cpp:8462
+        ClangASTContext::SetMetadata(clang_ast, getter, *metadata);
+       getter->setMethodParams(*clang_ast,
                               llvm::ArrayRef<clang::ParmVarDecl *>(),
----------------
The indentation here seems off?


================
Comment at: lldb/source/Symbol/ClangASTContext.cpp:8961
+    if (auto *objc_obj = llvm::dyn_cast<clang::ObjCObjectType>(
+            ClangUtil::GetQualType(full_type).getTypePtr()))
+      if (clang::ObjCInterfaceDecl *interface_decl = objc_obj->getInterface()) {
----------------
I think adding braces here would help readability.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70580/new/

https://reviews.llvm.org/D70580





More information about the lldb-commits mailing list