[PATCH] D94224: [clang][AST] Get rid of an alignment hack in DeclObjC.h [NFCI]
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 8 16:10:05 PST 2021
aprantl added inline comments.
================
Comment at: clang/include/clang/AST/DeclObjC.h:660
+ /// Location of the left and right angle brackets.
+ alignas(ObjCTypeParamDecl *) SourceRange Brackets;
/// The number of parameters in the list, which are tail-allocated.
----------------
Can you add a comment here explaining why the alignas is needed here? It's not obvious from the context.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94224/new/
https://reviews.llvm.org/D94224
More information about the cfe-commits
mailing list