From 407a6169b729c72c3a7ddb01b8454ab0b4f6897c Mon Sep 17 00:00:00 2001 From: Michael Ilseman Date: Thu, 15 Nov 2012 22:34:00 +0000 Subject: Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168103 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 4 ++-- lib/VMCore/Instruction.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/VMCore') diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index b72c17f667..c45a04f12b 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -84,7 +84,7 @@ static void PrintCallingConv(unsigned cc, raw_ostream &Out) default: Out << "cc" << cc; break; } } - + // PrintEscapedString - Print each character of the specified string, escaping // it if it is not printable or if it is an escape char. static void PrintEscapedString(StringRef Name, raw_ostream &Out) { @@ -878,7 +878,7 @@ static void WriteConstantInternal(raw_ostream &Out, const Constant *CV, Out << ']'; return; } - + if (const ConstantDataArray *CA = dyn_cast(CV)) { // As a special case, print the array as a string if it is an array of // i8 with ConstantInt values. diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index 66379a0493..c0d1feeb9a 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -434,14 +434,14 @@ Instruction *Instruction::clone() const { New->SubclassOptionalData = SubclassOptionalData; if (!hasMetadata()) return New; - + // Otherwise, enumerate and copy over metadata from the old instruction to the // new one. SmallVector, 4> TheMDs; getAllMetadataOtherThanDebugLoc(TheMDs); for (unsigned i = 0, e = TheMDs.size(); i != e; ++i) New->setMetadata(TheMDs[i].first, TheMDs[i].second); - + New->setDebugLoc(getDebugLoc()); return New; } -- cgit v1.2.3