diff options
author | Krystian Stasiowski <sdkrystian@gmail.com> | 2024-10-11 12:08:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-11 14:08:06 -0400 |
commit | 2bb3d3a3f32ffaef3d9b6a27db7f1941f0cb1136 (patch) | |
tree | 7ee2a39a7751dbed4788080ee0d416596a3fa0dd /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 48bda00b281a432d6de5e5e5dde6c5d66b992ac8 (diff) | |
download | llvm-2bb3d3a3f32ffaef3d9b6a27db7f1941f0cb1136.zip llvm-2bb3d3a3f32ffaef3d9b6a27db7f1941f0cb1136.tar.gz llvm-2bb3d3a3f32ffaef3d9b6a27db7f1941f0cb1136.tar.bz2 |
Reapply "[Clang][Sema] Refactor collection of multi-level template argument lists (#106585, #111173)" (#111852)
This patch reapplies #111173, fixing a bug when instantiating dependent
expressions that name a member template that is later explicitly
specialized for a class specialization that is implicitly instantiated.
The bug is addressed by adding the `hasMemberSpecialization` function,
which return `true` if _any_ redeclaration is a member specialization.
This is then used when determining the instantiation pattern for a
specialization of a template, and when collecting template arguments for
a specialization of a template.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions