aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2025-05-14 11:45:33 +0800
committerGitHub <noreply@github.com>2025-05-14 11:45:33 +0800
commit866f1cd6a9146b3ee6ed012c0d90e02bc96d4e16 (patch)
tree8e8842e82c294fa843116a6f6f1b9f28a61e2793 /clang/lib/AST/ByteCode/Compiler.cpp
parent036d637a1dc7be4af6178d4a4df32adaffbd9015 (diff)
downloadllvm-866f1cd6a9146b3ee6ed012c0d90e02bc96d4e16.zip
llvm-866f1cd6a9146b3ee6ed012c0d90e02bc96d4e16.tar.gz
llvm-866f1cd6a9146b3ee6ed012c0d90e02bc96d4e16.tar.bz2
[Clang] Stop changing DC when instantiating dependent friend specializations (#139436)
Since 346077aa, we began using the primary template's lexical DeclContext for template arguments in order to properly instantiate a friend definition. There is a missed peculiar case, as in a friend template is specialized within a dependent context. In this scenario, the primary template is not a definition, whereas the specialization is. So the primary template's DeclContext doesn't provide anything meaningful for instantiation. Fixes https://github.com/llvm/llvm-project/issues/139052
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions