diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2024-05-13 09:33:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 09:33:35 +0200 |
commit | d182877ba3f5ad93e061f68a9ecce38cb8cec418 (patch) | |
tree | 64fc54fbfe13c3a8ae279ddf853b47ecdf905f32 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 0bacffbbfc081b4147ac935512e2c5da9e3c06f0 (diff) | |
download | llvm-d182877ba3f5ad93e061f68a9ecce38cb8cec418.zip llvm-d182877ba3f5ad93e061f68a9ecce38cb8cec418.tar.gz llvm-d182877ba3f5ad93e061f68a9ecce38cb8cec418.tar.bz2 |
[clang] CTAD alias: fix the transformation for the require-clause expr (#90961)
In the clang AST, constraint nodes are deliberately not instantiated
unless they are actively being evaluated. Consequently, occurrences of
template parameters in the require-clause expression have a subtle
"depth" difference compared to normal occurrences in places, such as
function parameters. When transforming the require-clause, we must take
this distinction into account.
The existing implementation overlooks this consideration. This patch is
to rewrite the implementation of the require-clause transformation to
address this issue.
Fixes #90177
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions