LTO: Document the Boolean argument from r218784
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 2 Oct 2014 21:11:04 +0000 (21:11 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 2 Oct 2014 21:11:04 +0000 (21:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218907 91177308-0d34-0410-b5e6-96231b3b80d8

lib/LTO/LTOCodeGenerator.cpp

index 75ca56fbbe7333da15044b4dfc79f460948ea94e..3d7c5cead17877d719cab71bc2980d10a5b33335 100644 (file)
@@ -558,5 +558,6 @@ LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler,
     return Context.setDiagnosticHandler(nullptr, nullptr);
   // Register the LTOCodeGenerator stub in the LLVMContext to forward the
   // diagnostic to the external DiagHandler.
-  Context.setDiagnosticHandler(LTOCodeGenerator::DiagnosticHandler, this, true);
+  Context.setDiagnosticHandler(LTOCodeGenerator::DiagnosticHandler, this,
+                               /* RespectFilters */ true);
 }