[all-commits] [llvm/llvm-project] 21e1a3: Re-enable MSVC C4091 diagnostic; NFC (#182500)

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Feb 20 06:43:52 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21e1a300bce074db55af4544b2192c9643c79449
      https://github.com/llvm/llvm-project/commit/21e1a300bce074db55af4544b2192c9643c79449
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2026-02-20 (Fri, 20 Feb 2026)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  Re-enable MSVC C4091 diagnostic; NFC (#182500)

>From MSDN:

https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4091?view=msvc-170

> 'keyword': ignored on left of 'type' when no variable is declared

This diagnostic was disabled in 0cba642a05ad0675f313e55fce29ce5273340a59
because the diagnostic was being hit in system headers under MSVC 2015.
That no longer appears to be the case from my local testing; this
diagnostic does not appear to be emitted.



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