[all-commits] [llvm/llvm-project] 902f1f: [clang][driver] Improve warning message for comple...

Shunsuke Watanabe via All-commits all-commits at lists.llvm.org
Wed Sep 10 18:27:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 902f1fcb321f2cf59e42ef771feab956886ac18e
      https://github.com/llvm/llvm-project/commit/902f1fcb321f2cf59e42ef771feab956886ac18e
  Author: Shunsuke Watanabe <watanabe.shu-06 at fujitsu.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/cl-options.c
    M clang/test/Driver/fp-model.c
    A clang/test/Driver/range-warnings.c
    M clang/test/Driver/range.c

  Log Message:
  -----------
  [clang][driver] Improve warning message for complex range overrides (#154899)

This patch improves the warnings to show which user options override the
complex range. When a complex range is overridden, explicitly display
both the option name and the implied complex range value for both the
overriding and the overridden options.

See also the discussion in the following discourse post:
https://discourse.llvm.org/t/the-priority-of-fno-fast-math-regarding-complex-number-calculations/84679



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