| commit | ac2b51e6ce157b430b3823ebc90def9f1d49d36e | [log] [tgz] |
|---|---|---|
| author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | Thu Sep 18 13:34:41 2025 +0800 |
| committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | Thu Sep 18 13:44:21 2025 +0800 |
| tree | aea0f593cfa5b867130e85894034bcf37ba95e22 | |
| parent | 4663d2521c65827ca22884e12a96ddd437377e31 [diff] |
[C++20] [Modules] Fix issues with non-exported in-class friend declarations Close https://github.com/llvm/llvm-project/issues/159424 Close https://github.com/llvm/llvm-project/issues/133720 For in-class friend declaration, it is hard for the serializer to decide if they are visible to other modules. But luckily, Sema can handle it perfectly enough. So it is fine to make all of the in-class friend declaration as generally visible in ASTWriter and let the Sema to make the final call. This is safe as long as the corresponding class's visibility are correct.
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.