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;