[all-commits] [llvm/llvm-project] 3a11d5: [clang][diagnostics] add `-Wundef-true` warning op...

isuckatcs via All-commits all-commits at lists.llvm.org
Sun Mar 2 10:00:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a11d5a8dfb6c95a5ba0c6b4463e15494005a369
      https://github.com/llvm/llvm-project/commit/3a11d5a8dfb6c95a5ba0c6b4463e15494005a369
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/lib/Lex/PPExpressions.cpp
    A clang/test/Preprocessor/warn-macro-undef-true.c

  Log Message:
  -----------
  [clang][diagnostics] add `-Wundef-true` warning option (#128265)

New option `-Wundef-true` added and enabled by default to warn when `true` is used in the C preprocessor without being defined before C23.



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