aleksandr.urakov added inline comments.

================
Comment at: source/Plugins/SymbolFile/PDB/PDBASTParser.cpp:273
+        udt->getClassParent()) {
+      access = GetDefaultAccessibilityForUdtKind(udt_kind);
+    }
----------------
Yes, we can occur here, as I have mentioned at the line 186. But if I 
understand correctly for following code:

```
class C {
  struct S {
  };
};
```
we will retrieve `public` as the access for `S`, but must retrieve `private`, 
right? May be we need to get the default accessibility of the class parent?


https://reviews.llvm.org/D49410



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to