On Jan 14, 2013, at 11:00 , Dmitri Gribenko <[email protected]> wrote:

> On Mon, Jan 14, 2013 at 7:27 PM, Jordan Rose <[email protected]> wrote:
>> 
>> On Jan 12, 2013, at 8:54 , Dmitri Gribenko <[email protected]> wrote:
>> 
>>> Author: gribozavr
>>> Date: Sat Jan 12 10:54:37 2013
>>> New Revision: 172320
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=172320&view=rev
>>> Log:
>>> Add missing includes and forward declarations so that headers don't depend 
>>> on
>>> other headers included before them.
>> 
>> How did you discover these? Did you use a tool? Or did you just try to 
>> compile the headers on their own and see what broke?
> 
> Something in between:
> 
> $ find include/clang/ -name \*.h | parallel clang -fsyntax-only -x c++
> -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I include/ -I
> ../../include/ -I ../../../build-cmake-r+a/include/ -I
> ../../../build-cmake-r+a/tools/clang/include/ -fcolor-diagnostics

This seems like a good thing for a spare buildbot to do.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to