commit | 46f18b7c6febe75b2cc0095f2227d935c14f70f2 | [log] [tgz] |
---|---|---|
author | Michael Buch <michaelbuch12@gmail.com> | Wed Apr 23 15:40:04 2025 +0100 |
committer | Michael Buch <michaelbuch12@gmail.com> | Wed Apr 23 15:42:56 2025 +0100 |
tree | 9316180244a63a683aeb0ffded68bac0971853bb | |
parent | e58d227b09d533e2df644f827cedff8e206e0bfc [diff] |
[ItaniumDemangle][test] Add test-cases for ref-qualified member pointer parameters I noticed that there are test-cases that are commented out. But the manglings for them seem to be impossible to generate from valid C++. I added two test-cases generated from following C++ program: ``` struct X { int func() const && { return 5; } const int &&func2() { return 5; } const int &&func3(const int &x) volatile { return 5; } }; void f(int (X::*)() const &&, int const && (X::*)(), int const && (X::*)(const int &) volatile) {} int main() { f(&X::func, &X::func2, &X::func3); return 0; } ```
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.