This patch adds support for templates in availability attributes.
  - If the context for an availability diagnostic is a
    `FunctionTemplateDecl`, look through it to the `FunctionDecl`.
  - Add `__has_feature(attribute_availability_in_templates)`.

Is there anything else I should be testing to be sure availability
works correctly in templates?  I'm working on a patch to add
availability markup to the libc++ headers, and this is the only
problem I've hit so far.  Anyone have thoughts on other things I
should test?

Attachment: 0001-SemaCXX-Support-templates-in-availability-attributes.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to