diff options
| author | Haojian Wu <hokein.wu@gmail.com> | 2024-03-08 14:24:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-08 14:24:03 +0100 |
| commit | 7415524b45392651969374c067041daa82dc89e7 (patch) | |
| tree | 2f7aad6ac6231dc60e91d1c8463b7aa8b29e01ad /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 141ebdd242f35bfebc576c51d8b60182ae4eac2d (diff) | |
[clang] Implement CTAD for type alias template. (#77890)
Fixes #54051
This patch implements the C++20 feature -- CTAD for alias templates (P1814R0, specified in https://eel.is/c++draft/over.match.class.deduct#3). It is an initial patch:
- it cover major pieces, thus it works for most cases;
- the big missing piece is to implement the associated constraints (over.match.class.deduct#3.3) for the synthesized deduction guides, see the FIXME in code and tests;
- Some enhancements on the TreeTransform&TemplateInstantiator to allow performing instantiation on `BuildingDeductionGuides` mode;
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
