From: Rafael Espindola Date: Wed, 1 Apr 2015 14:44:59 +0000 (+0000) Subject: git-clang-format r233603. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4eeb5e9c6920d847dacfc5631131466882c504d5;p=oota-llvm.git git-clang-format r233603. Thanks to Meador Inge for noticing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233808 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index 274b982283c..09e3e75f99d 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -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 diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index a59a879b436..59d1511cc26 100644 --- a/lib/IR/DebugInfo.cpp +++ b/lib/IR/DebugInfo.cpp @@ -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;