[lldb-dev] [RFC] Adding a clang-style LLVM.h (or, "Are you tired of typing 'llvm::' everywhere ?")

Pavel Labath via lldb-dev lldb-dev at lists.llvm.org
Thu Apr 18 12:36:10 PDT 2019


On 18/04/2019 20:03, Robbert Haarman via lldb-dev wrote:
> On Thu, Apr 18, 2019, at 7:31 AM, Pavel Labath via lldb-dev wrote:
> 
>> Out of interest, I took a look at what lld is doing. I've found that
>> while it doesn't have a LLVM.h equivalent, it is a heavy user of "using
>> namespace llvm" (about 2 out of 3 cpp files have it).
> 
> LLD has include/lld/Common/LLVM.h, which is included in 60 or so places.


Woops. That's actually a pretty embarrassing mistake. Thanks for 
correcting me. :)


More information about the lldb-dev mailing list