clang-format two code snippets to make the next patch easy to read.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 23 Oct 2014 15:20:05 +0000 (15:20 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 23 Oct 2014 15:20:05 +0000 (15:20 +0000)
llvm-svn: 220484

llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/IR/Function.cpp

index f113c2c..ca6d73c 100644 (file)
@@ -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;
     }
index 9e622bd..2323c74 100644 (file)
@@ -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();