From b74e3dec3009014cb8c6fe172d5599542539ea9f Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 28 Jun 2013 23:24:05 +0000 Subject: Fix extra whitespace / formatting llvm-svn: 185238 --- llvm/lib/IR/DataLayout.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/IR/DataLayout.cpp') diff --git a/llvm/lib/IR/DataLayout.cpp b/llvm/lib/IR/DataLayout.cpp index d3669f9c01e..71324630683 100644 --- a/llvm/lib/IR/DataLayout.cpp +++ b/llvm/lib/IR/DataLayout.cpp @@ -200,9 +200,7 @@ static unsigned inBytes(unsigned Bits) { } void DataLayout::parseSpecifier(StringRef Desc) { - while (!Desc.empty()) { - // Split at '-'. std::pair Split = split(Desc, '-'); Desc = Split.second; @@ -582,7 +580,6 @@ unsigned DataLayout::getABIIntegerTypeAlignment(unsigned BitWidth) const { return getAlignmentInfo(INTEGER_ALIGN, BitWidth, true, 0); } - unsigned DataLayout::getCallFrameTypeAlignment(Type *Ty) const { for (unsigned i = 0, e = Alignments.size(); i != e; ++i) if (Alignments[i].AlignType == STACK_ALIGN) -- cgit v1.2.3