llvm.org GIT mirror llvm / e82a5fa
IRTests/IRBuilderTest.cpp: GetIntTy: Delete DL at yourself since it is not linked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173238 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 7 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
114114 IntegerType *IntPtrTy = Builder.getIntPtrTy(DL);
115115 unsigned IntPtrBitSize = DL->getPointerSizeInBits(0);
116116 EXPECT_EQ(IntPtrTy, IntegerType::get(getGlobalContext(), IntPtrBitSize));
117 delete DL;
117118 }
118119
119120 TEST_F(IRBuilderTest, FastMathFlags) {