{"push_id":995882755,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"d1c6628ab5a42bfba072d931b58bdc6c9d1a9ce1","before":"db044d8fadd63e1a08298af45092212d806f3c38","commits":[{"sha":"d1c6628ab5a42bfba072d931b58bdc6c9d1a9ce1","author":{"email":"20d921fc546146872790792fbd1b5fc4bad0eb3d@apple.com","name":"Duncan P. N. Exon Smith"},"message":"SemaCXX: Support templates in availability attributes\n\nIf the availability context is `FunctionTemplateDecl`, we should look\nthrough it to the `FunctionDecl`.  This prevents a diagnostic in the\nfollowing case:\n\n    class C __attribute__((unavailable));\n    template <class T> void foo(C&) __attribute__((unavailable));\n\nThis adds tests for availability in templates in many other cases, but\nthat was the only case that failed before this patch.\n\nI added a feature `__has_feature(attribute_availability_in_templates)`\nso users can test for this.\n\nrdar://problem/24561029","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project-submodule/commits/d1c6628ab5a42bfba072d931b58bdc6c9d1a9ce1"}]}