[cfe-dev] [llvm-dev] Splitting up Type.h: Good idea, bad idea?

Lubos Lunak via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 8 05:15:46 PDT 2020

On Tuesday 07 of April 2020, Chris Lattner via cfe-dev wrote:
> > On Apr 7, 2020, at 10:27 AM, Reid Kleckner via llvm-dev
> > I was using -ftime-trace to see where the compiler spends time parsing
> > clang's own headers, and it pointed me to Type.h. Many AST headers need
> > QualType to be complete, but they do not need the full type class
> > hierarchy. To improve compile time,

 If you intend to improve compile time, wouldn't it be better to focus on 
already existing ways to do that? Specifically with -DLLVM_ENABLE_MODULES=On 
I'd expect Type.h to not matter for compile times at all.

 Lubos Lunak

More information about the cfe-dev mailing list