[AST] Reduce the size of TemplateArgumentLocInfo.
allocate the underlying data of Template kind separately, this would reduce AST memory usage - TemplateArgumentLocInfo 24 => 8 bytes - TemplateArgumentLoc 48 => 32 bytes - DynTypeNode 56 => 40 bytes ASTContext::.getASTAllocatedMemory changes: SemaDecl.cpp 255.5 MB => 247.5MB SemaExpr.cpp 293.5 MB => 283.5MB Differential Revision: https://reviews.llvm.org/D87080
Loading
Please sign in to comment