Why wouldn't you just include it in every file where it's needed? Why does
it have to be included first?


On Wed, Jul 2, 2014 at 10:04 PM, Zachary Turner <[email protected]> wrote:

> 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?
>
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to