[lldb-dev] Config.h

Zachary Turner zturner at google.com
Wed Jul 2 22:04:51 PDT 2014


It would be useful if there were a header file that were always included in
every CPP file before any other header file, that would initialize any
platform-specific defines and whatnot.  We already have a header file that
seems to serve exactly this purpose, but it just isn't always included.
 It's lldb/Host/Config.h

Doing a single pass over every file and manually including this would be a
lot of work, but can we make it a policy going forward that a) this file
will always be included first, in every newly created cpp file, and b) When
touching files, try to remember to add this include at the top?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140702/7fe15423/attachment.html>


More information about the lldb-dev mailing list