[llvm] r218907 - LTO: Document the Boolean argument from r218784

Duncan P. N. Exon Smith dexonsmith at apple.com
Thu Oct 2 14:11:04 PDT 2014


Author: dexonsmith
Date: Thu Oct  2 16:11:04 2014
New Revision: 218907

URL: http://llvm.org/viewvc/llvm-project?rev=218907&view=rev
Log:
LTO: Document the Boolean argument from r218784

Modified:
    llvm/trunk/lib/LTO/LTOCodeGenerator.cpp

Modified: llvm/trunk/lib/LTO/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/LTOCodeGenerator.cpp?rev=218907&r1=218906&r2=218907&view=diff
==============================================================================
--- llvm/trunk/lib/LTO/LTOCodeGenerator.cpp (original)
+++ llvm/trunk/lib/LTO/LTOCodeGenerator.cpp Thu Oct  2 16:11:04 2014
@@ -558,5 +558,6 @@ LTOCodeGenerator::setDiagnosticHandler(l
     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);
 }





More information about the llvm-commits mailing list