[all-commits] [llvm/llvm-project] 8cb6ec: [Sema] Mark explicit specialization declaration in...
Yuanfang Chen via All-commits
all-commits at lists.llvm.org
Wed Dec 15 10:24:41 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8cb6ecbc4da2b0cfd8dcf04f612dc413716d27a1
https://github.com/llvm/llvm-project/commit/8cb6ecbc4da2b0cfd8dcf04f612dc413716d27a1
Author: Yuanfang Chen <yuanfang.chen at sony.com>
Date: 2021-12-15 (Wed, 15 Dec 2021)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p20-2.cpp
Log Message:
-----------
[Sema] Mark explicit specialization declaration in a friend invalid
Down the path, if there is a implicit instantiation, this may trigger
the assertion "Member specialization must be an explicit specialization"
in `clang::FunctionDecl::setFunctionTemplateSpecialization`.
More information about the All-commits
mailing list