[all-commits] [llvm/llvm-project] c189b2: [DiagnosticInfo] Fix the default DiagnosticSeverit...

Jinsong Ji via All-commits all-commits at lists.llvm.org
Tue Dec 17 20:00:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c189b2a1ece2804829350700bec568398550c49d
      https://github.com/llvm/llvm-project/commit/c189b2a1ece2804829350700bec568398550c49d
  Author: Jinsong Ji <jinsong.ji at intel.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M llvm/include/llvm/IR/DiagnosticInfo.h

  Log Message:
  -----------
  [DiagnosticInfo] Fix the default DiagnosticSeverity (#120342)

After
https://github.com/llvm/llvm-project/commit/ea632e1b34e1

the API call to LLVMContext->emitError(I, Errorstr) default to warning
instead of error.

This cause problems as the API mentioned it is "prefixed with error:".



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list