diff options
author | James Y Knight <jyknight@google.com> | 2015-06-17 13:53:12 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2015-06-17 13:53:12 +0000 |
commit | f27e441373dde31ac86f7f11280c357c30c7c243 (patch) | |
tree | d5523e65a156702019406f9f8d89e0c36749a511 /llvm/lib/IR/User.cpp | |
parent | 9c5831f3de4359d807ee33a37512795817f8689e (diff) | |
download | llvm-f27e441373dde31ac86f7f11280c357c30c7c243.zip llvm-f27e441373dde31ac86f7f11280c357c30c7c243.tar.gz llvm-f27e441373dde31ac86f7f11280c357c30c7c243.tar.bz2 |
Tweak wording of alignment static_assert messages.
llvm-svn: 239907
Diffstat (limited to 'llvm/lib/IR/User.cpp')
-rw-r--r-- | llvm/lib/IR/User.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/IR/User.cpp b/llvm/lib/IR/User.cpp index ab25670..522722d 100644 --- a/llvm/lib/IR/User.cpp +++ b/llvm/lib/IR/User.cpp @@ -44,9 +44,10 @@ void User::allocHungoffUses(unsigned N, bool IsPhi) { assert(HasHungOffUses && "alloc must have hung off uses"); static_assert(AlignOf<Use>::Alignment >= AlignOf<Use::UserRef>::Alignment, - "Alignment sufficient for hung-off-uses pieces"); - static_assert(AlignOf<Use::UserRef>::Alignment >= AlignOf<BasicBlock *>::Alignment, - "Alignment sufficient for hung-off-uses pieces"); + "Alignment is insufficient for 'hung-off-uses' pieces"); + static_assert(AlignOf<Use::UserRef>::Alignment >= + AlignOf<BasicBlock *>::Alignment, + "Alignment is insufficient for 'hung-off-uses' pieces"); // Allocate the array of Uses, followed by a pointer (with bottom bit set) to // the User. |