r244280 - Fix alignment of TemplateArgumentList.
James Y Knight via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 6 14:22:03 PDT 2015
Author: jyknight
Date: Thu Aug 6 16:22:02 2015
New Revision: 244280
URL: http://llvm.org/viewvc/llvm-project?rev=244280&view=rev
Log:
Fix alignment of TemplateArgumentList.
Modified:
cfe/trunk/include/clang/AST/DeclTemplate.h
Modified: cfe/trunk/include/clang/AST/DeclTemplate.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclTemplate.h?rev=244280&r1=244279&r2=244280&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclTemplate.h (original)
+++ cfe/trunk/include/clang/AST/DeclTemplate.h Thu Aug 6 16:22:02 2015
@@ -170,7 +170,7 @@ public:
};
/// \brief A template argument list.
-class TemplateArgumentList final
+class LLVM_ALIGNAS(/*alignof(uint64_t)*/ 8) TemplateArgumentList final
: private llvm::TrailingObjects<TemplateArgumentList, TemplateArgument> {
/// \brief The template argument list.
const TemplateArgument *Arguments;
More information about the cfe-commits
mailing list