From: Rafael Espindola Date: Thu, 23 Oct 2014 15:20:05 +0000 (+0000) Subject: clang-format two code snippets to make the next patch easy to read. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8b8e2b2f81634900a40eaa9336b8617f88b4f97e;p=oota-llvm.git clang-format two code snippets to make the next patch easy to read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220484 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index f113c2c71d1..ca6d73c12ba 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -2071,7 +2071,8 @@ std::error_code BitcodeReader::ParseModule(bool Resume) { // creating now, so that we can match up the body with them later. if (!isProto) { FunctionsWithBodies.push_back(Func); - if (LazyStreamer) DeferredFunctionInfo[Func] = 0; + if (LazyStreamer) + DeferredFunctionInfo[Func] = 0; } break; } diff --git a/lib/IR/Function.cpp b/lib/IR/Function.cpp index 9e622bdc99b..2323c7459fc 100644 --- a/lib/IR/Function.cpp +++ b/lib/IR/Function.cpp @@ -241,10 +241,10 @@ void Function::eraseFromParent() { // Function Implementation //===----------------------------------------------------------------------===// -Function::Function(FunctionType *Ty, LinkageTypes Linkage, - const Twine &name, Module *ParentModule) - : GlobalObject(PointerType::getUnqual(Ty), - Value::FunctionVal, nullptr, 0, Linkage, name) { +Function::Function(FunctionType *Ty, LinkageTypes Linkage, const Twine &name, + Module *ParentModule) + : GlobalObject(PointerType::getUnqual(Ty), Value::FunctionVal, nullptr, 0, + Linkage, name) { assert(FunctionType::isValidReturnType(getReturnType()) && "invalid return type"); SymTab = new ValueSymbolTable();