[LLVMdev] Clang plugin for forward declaration warnings

Daniel Albuschat d.albuschat at gmail.com
Wed Nov 27 09:47:43 PST 2013


Hey Adam,

Am Mittwoch, 27. November 2013 schrieb Adam Treat :

> Hi,
>
> In projects with a large codebase it is often desirable to reduce the
> amount of included headers in header declaration files and rather use
> forward declarations.  It occurs to me that a clang-plugin could
> conceivably be used to check a large codebase for such opportunities and
> assist a script in refactoring.
>
> I am wondering if anyone has written such a clang plugin?  Can anyone see
> a problem with this idea?


See  https://code.google.com/p/include-what-you-use/
<https://code.google.com/p/include-what-you-use/>

> Cheers,
> Adam


Greetings,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131127/c50503f9/attachment.html>


More information about the llvm-dev mailing list