diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-23 08:30:21 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-23 08:30:21 +0000 |
commit | bde0f0f225c8504bec62e9e3c39f1d4573c0ee77 (patch) | |
tree | c8f92eb6dd6b38abbfdc721a7a3a8046033e3d9a /unittests | |
parent | 3fe36d0fddd38e05daeb6f967fd0044a373a8f09 (diff) | |
download | external_llvm-bde0f0f225c8504bec62e9e3c39f1d4573c0ee77.zip external_llvm-bde0f0f225c8504bec62e9e3c39f1d4573c0ee77.tar.gz external_llvm-bde0f0f225c8504bec62e9e3c39f1d4573c0ee77.tar.bz2 |
Untabify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/IR/WaymarkTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unittests/IR/WaymarkTest.cpp b/unittests/IR/WaymarkTest.cpp index 0fe0a43..dd91704 100644 --- a/unittests/IR/WaymarkTest.cpp +++ b/unittests/IR/WaymarkTest.cpp @@ -27,13 +27,13 @@ TEST(WaymarkTest, NativeArray) { static uint8_t tail[22] = "s02s33s30y2y0s1x0syxS"; Value * values[22]; std::transform(tail, tail + 22, values, char2constant); - FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); + FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); Function *F = Function::Create(FT, GlobalValue::ExternalLinkage); - const CallInst *A = CallInst::Create(F, makeArrayRef(values)); + const CallInst *A = CallInst::Create(F, makeArrayRef(values)); ASSERT_NE(A, (const CallInst*)NULL); ASSERT_EQ(1U + 22, A->getNumOperands()); - const Use *U = &A->getOperandUse(0); - const Use *Ue = &A->getOperandUse(22); + const Use *U = &A->getOperandUse(0); + const Use *Ue = &A->getOperandUse(22); for (; U != Ue; ++U) { EXPECT_EQ(A, U->getUser()); @@ -43,7 +43,7 @@ TEST(WaymarkTest, NativeArray) { TEST(WaymarkTest, TwoBit) { Use* many = (Use*)calloc(sizeof(Use), 8212 + 1); ASSERT_TRUE(many); - Use::initTags(many, many + 8212); + Use::initTags(many, many + 8212); for (Use *U = many, *Ue = many + 8212 - 1; U != Ue; ++U) { EXPECT_EQ(reinterpret_cast<User *>(Ue + 1), U->getUser()); |