commit | 446e793d77286ea477c90778f28c168883526e56 | [log] [tgz] |
---|---|---|
author | Alexandre Ganea <alex_toresh@yahoo.fr> | Tue Apr 08 14:38:17 2025 -0400 |
committer | Alexandre Ganea <alex_toresh@yahoo.fr> | Tue Apr 08 14:42:24 2025 -0400 |
tree | bfe61940c27e932f48b7928178540997a36efac0 | |
parent | 550d148561002a9984ca57a5ba0ed39367052a52 [diff] |
[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. ```
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.