[all-commits] [llvm/llvm-project] 766ec7: [SandboxIR] Silence warning with Clang 19.1.0 on W...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Fri Sep 20 04:37:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 766ec7d50f207b7e17f23b16bdf4fca1cdc8dd23
      https://github.com/llvm/llvm-project/commit/766ec7d50f207b7e17f23b16bdf4fca1cdc8dd23
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

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

  Log Message:
  -----------
  [SandboxIR] Silence warning with Clang 19.1.0 on Windows

This fixes:
```
[1832/3777] Building CXX object
lib\SandboxIR\CMakeFiles\LLVMSandboxIR.dir\SandboxIR.cpp.obj
In file included from
C:\src\git\llvm-project\llvm\lib\SandboxIR\SandboxIR.cpp:9:
C:\src\git\llvm-project\llvm\include\llvm/SandboxIR/SandboxIR.h(4400,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]
 4400 |   friend class TargetExtType; // For LLVMCtx.
       |                ^
             |                ::llvm::
	     1 warning generated.
```



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