Skip to content
  • Bob Wilson's avatar
    Add LLVMContext::emitWarning methods and use them. <rdar://problem/12867368> · 4ed23578
    Bob Wilson authored
    When the backend is used from clang, it should produce proper diagnostics
    instead of just printing messages to errs(). Other clients may also want to
    register their own error handlers with the LLVMContext, and the same handler
    should work for warnings in the same way as the existing emitError methods.
    
    llvm-svn: 171041
    4ed23578
Loading