[all-commits] [llvm/llvm-project] c24fb4: [llvm][SandboxIR] Fix some clang-cl warnings on Wi...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon Aug 5 01:14:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c24fb452651f53bb4d2730703ed7304c6ef71cc2
https://github.com/llvm/llvm-project/commit/c24fb452651f53bb4d2730703ed7304c6ef71cc2
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-08-05 (Mon, 05 Aug 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/Use.h
Log Message:
-----------
[llvm][SandboxIR] Fix some clang-cl warnings on Windows (#101660)
```
[4958/6355] Building CXX object lib\SandboxIR\CMakeFiles\LLVMSandboxIR.dir\Tracker.cpp.obj In file included from C:\Work\david.spickett\llvm-project\llvm\lib\SandboxIR\Tracker.cpp:9: In file included from C:\Work\david.spickett\llvm-project\llvm\include\llvm/SandboxIR/Tracker.h:48: C:\Work\david.spickett\llvm-project\llvm\include\llvm/SandboxIR/Use.h(46,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]
46 | friend class CallBrInst; // For constructor
| ^
| ::llvm::
In file included from C:\Work\david.spickett\llvm-project\llvm\lib\SandboxIR\Tracker.cpp:13:
C:\Work\david.spickett\llvm-project\llvm\include\llvm/SandboxIR/SandboxIR.h(1433,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]
1433 | friend class PtrToInt; // For constructor.
| ^
| ::llvm::
```
First one I think is a missing forward declaration and I couldn't find
the right class for the second one but it appears to be unused anyway.
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