| commit | fe8e703aaf2c1a7eeceb153aa7a51bab4c06dab5 | [log] [tgz] |
|---|---|---|
| author | Bruno De Fraine <brunodf@synopsys.com> | Wed Sep 17 14:39:56 2025 +0200 |
| committer | GitHub <noreply@github.com> | Wed Sep 17 14:39:56 2025 +0200 |
| tree | 328e332d3fd6f26e9a3e95043c79caf1c1dd9026 | |
| parent | ce5124856e019792783de9630d0c5a1f0aaf2d9d [diff] |
[clang][Parse] Use consistent Scope::ScopeFlags enum values (NFC) (#159275) Commit 438863a changed the underlying type of the Scope::ScopeFlags from int to unsigned. This triggers type mismatch warnings from specific compilers when the enum's values are combined in operations with integer literal 0. Regardless of these warnings, similar code in other places uses Scope::NoScope instead of literal 0. For consistency and to avoid these warnings, we change the uses of literal 0 to Scope::NoScope.
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.