diff options
author | Younan Zhang <zyn7109@gmail.com> | 2024-05-29 12:58:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 12:58:44 +0800 |
commit | bb42511f64fd44f2ff1beb0dd38a653a8f2c20df (patch) | |
tree | b79a9f4c471c739f03d9b88d305554eca4841026 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75 (diff) | |
download | llvm-bb42511f64fd44f2ff1beb0dd38a653a8f2c20df.zip llvm-bb42511f64fd44f2ff1beb0dd38a653a8f2c20df.tar.gz llvm-bb42511f64fd44f2ff1beb0dd38a653a8f2c20df.tar.bz2 |
[Clang][Sema] Use StructuralValues to model dependent NTTP arguments (#93556)
This patch takes Richard's approach of no longer modeling dependent NTTP
arguments with TemplateParamObjectDecls. Clang used to do so, which left
behind a problem in that we might mess up dependent and non-dependent
arguments that boil down to the same canonical type because there's a
default argument on the NTTP.
The problem of "canonical expression" is still present because this
patch doesn't touch the profiling part. Namely, #92292 seems different.
Fixes https://github.com/llvm/llvm-project/issues/84052
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions