aprantl added inline comments.

================
Comment at: 
lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py:15
+        # Call super's setUp().
+        TestBase.setUp(self)
+        # Find the line number to break inside main().
----------------
Is this needed?


================
Comment at: 
lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py:17
+        # Find the line number to break inside main().
+        self.line = line_number('main.cpp', '// Set break point at this line.')
+
----------------
Is this needed?


================
Comment at: lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/main.cpp:3
+#include <stdio.h>
+#include <string.h>
+
----------------
teemperor wrote:
> Do we need stdio and string.h?
Since it's only used in bitfields we probably don't even need `uint64_t`? It 
speeds up compilation of the testcase quite a bit if the std module doesn't 
have to be built.


================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h:181
+    void SetIsBitfield(bool flag) { is_bitfield = flag; }
+    bool IsBitfield() { return is_bitfield; }
 
----------------
This is personal taste, but for a `struct` I probably wouldn't even bother 
writing a trivial accessor. Up to you.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72953



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

Reply via email to