llvm-project
446e793d - [SandboxIR] Fix warning when building on Windows with clang-cl. NFC.

Commit
213 days ago
[SandboxIR] Fix warning when building on Windows with clang-cl. NFC. This fixes: ``` [1230/3381] Building CXX object lib\Transforms\Vectorize\CMakeFiles\LLVMVectorize.dir\SandboxVectorizer\VecUtils.cpp.obj In file included from C:\git\llvm-project\llvm\lib\Transforms\Vectorize\SandboxVectorizer\VecUtils.cpp:9: In file included from C:\git\llvm-project\llvm\include\llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h:17: C:\git\llvm-project\llvm\include\llvm/SandboxIR/Type.h(55,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] 55 | friend class CallBase; // For LLVMTy. | ^ | ::llvm:: C:\git\llvm-project\llvm\include\llvm/SandboxIR/Type.h(60,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] 60 | friend class CmpInst; // For LLVMTy. TODO: Cleanup after | ^ | ::llvm:: 2 warnings generated. ```
Author
Committer
Parents
Loading