[all-commits] [llvm/llvm-project] 59b1d6: [llvm][SandBoxIR] Fix Windows+clang compiler warni...

David Spickett via All-commits all-commits at lists.llvm.org
Mon Jul 7 08:35:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59b1d631d7c80c956c971de92350076591d9c0ad
      https://github.com/llvm/llvm-project/commit/59b1d631d7c80c956c971de92350076591d9c0ad
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M llvm/include/llvm/SandboxIR/Value.h

  Log Message:
  -----------
  [llvm][SandBoxIR] Fix Windows+clang compiler warning (#146905)

C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include\llvm/SandboxIR/Value.h(172,16):
warning: unqualified friend declaration referring to type outside of the
nearest enclosing namespace is a Microsoft extension; add a nested name
specifier [-Wmicrosoft-unqualified-friend]

Clang suggests adding ::llvm::, but:
* Region is in ::llvm::sandboxir
* Region is not defined at this point

So forward declare it.



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