[Lldb-commits] [lldb] 81aba6c - Initiallize property getters as being property accessors (NFC)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 14 15:56:26 PDT 2020


Author: Adrian Prantl
Date: 2020-04-14T15:56:17-07:00
New Revision: 81aba6cd7252bd4c2226466faccdcf8bf04ad092

URL: https://github.com/llvm/llvm-project/commit/81aba6cd7252bd4c2226466faccdcf8bf04ad092
DIFF: https://github.com/llvm/llvm-project/commit/81aba6cd7252bd4c2226466faccdcf8bf04ad092.diff

LOG: Initiallize property getters as being property accessors (NFC)

This is a no-op because it is set later on unconditionally again, but
it's far less confusing this way and consistent with how the setters
are initialized.

Added: 
    

Modified: 
    lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 8598e413edc6..0a3e8735c448 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -7622,7 +7622,7 @@ bool TypeSystemClang::AddObjCClassProperty(
                         : class_interface_decl->lookupClassMethod(getter_sel);
   if (!getter_sel.isNull() && !getter) {
     const bool isVariadic = false;
-    const bool isPropertyAccessor = false;
+    const bool isPropertyAccessor = true;
     const bool isSynthesizedAccessorStub = false;
     const bool isImplicitlyDeclared = true;
     const bool isDefined = false;


        


More information about the lldb-commits mailing list