commit | 9c73eba8aa17cb7ca4248ab1c7f67ea7ec9b50b1 | [log] [tgz] |
---|---|---|
author | Aaron Puchert <aaronpuchert@alice-dsl.net> | Tue Apr 15 23:21:34 2025 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 15 23:21:34 2025 +0200 |
tree | 9a73317d6a54d5d607a9d59e6e1990341534ac90 | |
parent | d30a5b41fe72a1dd83714d3e21fd539b91e63c8c [diff] |
Merge similar Clang Thread Safety attributes (#135561) Some of the old lock-based and new capability-based spellings behave basically in the same way, so merging them simplifies the code significantly. There are two minor functional changes: we only warn (instead of an error) when the try_acquire_capability attribute is used on something else than a function. The alternative would have been to produce an error for the old spelling, but we seem to only warn for all function attributes, so this is arguably more consistent. The second change is that we also check the first argument (which is the value returned for a successful try-acquire) for `this`. But from what I can tell, this code is defunct anyway at the moment (see #31414).
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.