Tweak wording of alignment static_assert messages.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239907 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
James Y Knight
2015-06-17 13:53:12 +00:00
parent 279a212ca2
commit 4dd3b87048
4 changed files with 16 additions and 14 deletions

View File

@@ -229,9 +229,9 @@ public:
};
// Either Use objects, or a Use pointer can be prepended to User.
static_assert(AlignOf<Use>::Alignment >= AlignOf<User>::Alignment,
"Alignment sufficient after objects prepended to User");
"Alignment is insufficient after objects prepended to User");
static_assert(AlignOf<Use *>::Alignment >= AlignOf<User>::Alignment,
"Alignment sufficient after objects prepended to User");
"Alignment is insufficient after objects prepended to User");
template<> struct simplify_type<User::op_iterator> {
typedef Value* SimpleType;