| commit | 4c0a7b72f7fe7786e12264aec2b990177222778c | [log] [tgz] |
|---|---|---|
| author | keinflue <keinflue@posteo.de> | Sun Aug 10 01:03:02 2025 +0200 |
| committer | GitHub <noreply@github.com> | Sat Aug 09 20:03:02 2025 -0300 |
| tree | 651cb5cd2310e7d19bdadc39a016e3b4115f96f8 | |
| parent | f94d809b7e6f4fcaf5ee703c29e16142c403dafa [diff] |
[clang] Distinguish NTTPs with deduced types in variable template partial specializations (#152864) If a template argument in a partial specialization of a variable template directly refers to a NTTP of the specialization without implicit type conversion it was assumed that the NTTP is identical to that of the primary template. This doesn't hold if the primary template's NTTP uses a deduced type, so instead compare the types explicitly as well. The affected function is used only to provide an improved early error if the partial specialization has identical template arguments to the primary template. The actual check that the partial specialization is more specialized happens later. Fixes #118190 Fixes #152750
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.