labath added inline comments.
================ Comment at: lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp:19 using namespace lldb; +using namespace dwarf; ---------------- JDevlieghere wrote: > shafik wrote: > > JDevlieghere wrote: > > > Wouldn't it be more consistent to use `lldb_private::dwarf` everywhere? > > Yeah, I was trying to match the style of how it was done for minidump, see > > `source/Plugins/Process/minidump/MinidumpParser.cpp`. > > > > Since we need access to both namespaces but in files that did already have > > `using namespace lldb_private;` I just used the less verbose version. > > > > I can see arguments for just being verbose everywhere. > Maybe it's just preference? Curious to hear from @labath why he did it that > way. Personally I prefer the slightly more verbose one because it's self > contained. Actually, I totally agree with you here. I think I did not personally write that using directive. I recall noticing it (during review, or during subsequent edits), but not considering it worth the trouble of changing it. So +1 to verbose using directives. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D120836/new/ https://reviews.llvm.org/D120836 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits