[all-commits] [llvm/llvm-project] 8781a4: [NFC] Check for defined(__GNUC__) before use (#116...

David Truby via All-commits all-commits at lists.llvm.org
Thu Nov 14 05:46:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8781a4320c9b0ef00d1907341cf347759b9a822d
      https://github.com/llvm/llvm-project/commit/8781a4320c9b0ef00d1907341cf347759b9a822d
  Author: David Truby <david.truby at arm.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M llvm/include/llvm/ADT/iterator_range.h

  Log Message:
  -----------
  [NFC] Check for defined(__GNUC__) before use (#116076)

This silences some spurious warnings on Windows builds with clang-cl
that `__GNUC__` is not defined if `-Wundef` is passed, which is the default 
in MLIR. 
These warnings make Windows builds of LLVM very noisy when MLIR is
included.



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