{"push_id":724047838,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"5ae3c7b7de2242a63d41e3c326c3600477a8fdf0","before":"c6b4ddb4d7b507e0eb0a127fb6aa9556abc01409","commits":[{"sha":"5ae3c7b7de2242a63d41e3c326c3600477a8fdf0","author":{"email":"dfbb67861321c3a0b65599ad75850a0b877f5c0d@de.ibm.com","name":"Ulrich Weigand"},"message":"Support alternate attribute spelling __enable_if__\n\nAttribute names usually support an alternate spelling that uses double\nunderscores before and after the attribute name, like e.g. attribute\n((__aligned__)) for attribute ((aligned)). This is necessary to allow\nuse of attributes in system headers without polluting the name space.\n\nHowever, for attribute ((enable_if)) that alternate spelling does not\nwork correctly. This is because of code in Parser::ParseGNUAttributeArgs\n(ParseDecl.cpp) that specifically checks for the \"enable_if\" spelling\nwithout allowing the alternate spelling.\n\nSimilar code in ParseDecl.cpp uses the normalizeAttrName helper to allow\nboth spellings. This patch adds use of that helper for the \"enable_if\"\ncheck as well, which fixes attribute ((__enable_if__)).\n\nDifferential Revision: http://reviews.llvm.org/D11142\n\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242029 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-project/clang/commits/5ae3c7b7de2242a63d41e3c326c3600477a8fdf0"}]}