commit | 4aacafd49b74dc168e0d99018b4c8289ce9c923e | [log] [tgz] |
---|---|---|
author | Clement Courbet <courbet@google.com> | Thu Dec 12 17:01:59 2024 +0100 |
committer | GitHub <noreply@github.com> | Thu Dec 12 17:01:59 2024 +0100 |
tree | df3636ab08e82a787a62d8a2c47daf88f4505568 | |
parent | e5371eded9c22ec4854634c9c58df793562f782d [diff] |
[clang][ASTVisitor] Visit `HoldingVar` from `BindingDecl`. (#117858) Tuple-like types introduce `VarDecl`s in the AST for their "holding vars", but AST visitors do not visit those. As a result the `VarDecl` for the holding var is orphaned when trying to retreive its parents. Fix a `FlowSensitive` test that assumes that only a `BindingDecl` is introduced with the given name (the matcher now can also reach the `VarDecl` for the holding var).
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.