[PATCH] D11298: Convert a few classes over to use the new TrailingObjects helper.
Reid Kleckner
rnk at google.com
Mon Aug 3 09:55:59 PDT 2015
rnk added a comment.
I'd rather hold of on stamping this and let Richard look at it, since it changes AST pretty heavily.
================
Comment at: include/clang/AST/DeclTemplate.h:146
@@ -140,1 +145,3 @@
+template <size_t N> class FixedSizeTemplateParameterListStorage {
+ char Mem[TemplateParameterList::totalSizeToAlloc<NamedDecl *>(N)];
----------------
Won't this reduce the alignment of this structure to 1?
http://reviews.llvm.org/D11298
More information about the cfe-commits
mailing list