| commit | a71f9e6986b80fa90c453219795a1369b8ea7b6e | [log] [tgz] |
|---|---|---|
| author | Ryosuke Niwa <rniwa@webkit.org> | Thu Dec 19 18:11:28 2024 -0800 |
| committer | GitHub <noreply@github.com> | Thu Dec 19 18:11:28 2024 -0800 |
| tree | 3acbe2159084c035dc8364588e00b1f695fa9a3d | |
| parent | 4307198d51487cc16f98eebb2113caf4a1905914 [diff] |
[webkit.UncountedLambdaCapturesChecker] Detect protectedThis pattern. (#120528) In WebKit, we often capture this as Ref or RefPtr in addition to this itself so that the object lives as long as a capturing lambda stays alive. Detect this pattern and treat it as safe. This PR also makes the check for a lambda being passed as a function argument more robust by handling CXXBindTemporaryExpr, CXXConstructExpr, and DeclRefExpr referring to the lambda.
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.