https://bugs.llvm.org/show_bug.cgi?id=45151
Bug ID: 45151
Summary: Deprecated attribute not honoured on partial template
specialization
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
In the following code, the deprecated attribute does not fire. I believe that
is because it is applied to a partial specialization:
cat <<EOF | clang++ -xc++ -
template <typename T> class function { };
template <typename A>
class __attribute__((deprecated)) function<void(A)> { };
int main() { function<void(int)> f; }
EOF
Live repro: https://wandbox.org/permlink/5IAXzJOYCpPuCbok
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs