[cfe-commits] r172320 - in /cfe/trunk/include/clang: AST/ ASTMatchers/ Analysis/Analyses/ Basic/ Lex/ Sema/ Serialization/ StaticAnalyzer/Core/ StaticAnalyzer/Core/PathSensitive/

Jordan Rose jordan_rose at apple.com
Mon Jan 14 11:01:21 PST 2013


On Jan 14, 2013, at 11:00 , Dmitri Gribenko <gribozavr at gmail.com> wrote:

> On Mon, Jan 14, 2013 at 7:27 PM, Jordan Rose <jordan_rose at apple.com> wrote:
>> 
>> On Jan 12, 2013, at 8:54 , Dmitri Gribenko <gribozavr at gmail.com> 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.



More information about the cfe-commits mailing list