[llvm] r367404 - Fix mismatching vector type in AlignmentTest.cpp
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 03:00:49 PDT 2019
Author: gchatelet
Date: Wed Jul 31 03:00:48 2019
New Revision: 367404
URL: http://llvm.org/viewvc/llvm-project?rev=367404&view=rev
Log:
Fix mismatching vector type in AlignmentTest.cpp
Modified:
llvm/trunk/unittests/Support/AlignmentTest.cpp
Modified: llvm/trunk/unittests/Support/AlignmentTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/AlignmentTest.cpp?rev=367404&r1=367403&r2=367404&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/AlignmentTest.cpp (original)
+++ llvm/trunk/unittests/Support/AlignmentTest.cpp Wed Jul 31 03:00:48 2019
@@ -188,7 +188,7 @@ TEST(Alignment, isAligned) {
}
TEST(Alignment, AlignComparisons) {
- std::vector<size_t> ValidAlignments = getValidAlignments();
+ std::vector<uint64_t> ValidAlignments = getValidAlignments();
std::sort(ValidAlignments.begin(), ValidAlignments.end());
for (size_t I = 1; I < ValidAlignments.size(); ++I) {
assert(I >= 1);
More information about the llvm-commits
mailing list