]> granicus.if.org Git - llvm/commitdiff
git-clang-format r233603.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 1 Apr 2015 14:44:59 +0000 (14:44 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 1 Apr 2015 14:44:59 +0000 (14:44 +0000)
Thanks to Meador Inge for noticing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233808 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Reader/BitcodeReader.cpp
lib/IR/DebugInfo.cpp

index 274b982283cdc5d7b9db88410a770fa826628339..09e3e75f99d7de744ce588a6b39bb2734f4fac4a 100644 (file)
@@ -2614,9 +2614,7 @@ std::error_code BitcodeReader::materializeMetadata() {
   return std::error_code();
 }
 
-void BitcodeReader::setStripDebugInfo() {
-  StripDebugInfo = true;
-}
+void BitcodeReader::setStripDebugInfo() { StripDebugInfo = true; }
 
 /// RememberAndSkipFunctionBody - When we see the block for a function body,
 /// remember where it is and then skip it.  This lets us lazily deserialize the
index a59a879b436fc54d6dcd0a4b2ab8dc14c7e6c217..59d1511cc26c2fb8b43f372057dd70f9264964e9 100644 (file)
@@ -848,7 +848,7 @@ bool llvm::StripDebugInfo(Module &M) {
   for (Function &F : M)
     Changed |= stripDebugInfo(F);
 
-  if ( GVMaterializer *Materializer = M.getMaterializer())
+  if (GVMaterializer *Materializer = M.getMaterializer())
     Materializer->setStripDebugInfo();
 
   return Changed;