[llvm-commits] [llvm] r173235 - /llvm/trunk/unittests/IR/WaymarkTest.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Wed Jan 23 00:30:21 PST 2013
Author: chapuni
Date: Wed Jan 23 02:30:21 2013
New Revision: 173235
URL: http://llvm.org/viewvc/llvm-project?rev=173235&view=rev
Log:
Untabify.
Modified:
llvm/trunk/unittests/IR/WaymarkTest.cpp
Modified: llvm/trunk/unittests/IR/WaymarkTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/WaymarkTest.cpp?rev=173235&r1=173234&r2=173235&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/WaymarkTest.cpp (original)
+++ llvm/trunk/unittests/IR/WaymarkTest.cpp Wed Jan 23 02:30:21 2013
@@ -27,13 +27,13 @@
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, 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());
More information about the llvm-commits
mailing list