[all-commits] [llvm/llvm-project] b3c72a: [flang][driver] -Werror promotes warnings to error...

Andre Kuhlenschmidt via All-commits all-commits at lists.llvm.org
Wed Jul 16 12:26:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3c72a97c5ac352b89c12f3cf7c3f223219f91ed
      https://github.com/llvm/llvm-project/commit/b3c72a97c5ac352b89c12f3cf7c3f223219f91ed
  Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M flang/include/flang/Parser/message.h
    M flang/lib/Frontend/FrontendAction.cpp
    M flang/lib/Parser/message.cpp
    M flang/lib/Semantics/semantics.cpp
    A flang/test/Driver/fatal-errors-warnings.f90

  Log Message:
  -----------
  [flang][driver] -Werror promotes warnings to error and interopts with -Wfatal-errors (#148748)

This PR changes how `-Werror` promotes warnings to errors so that it
interoperates with `-Wfatal-error`. It maintains the property that
warnings and other messages promoted to errors are displayed as there
original message.



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