{"push_id":3089581718,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"517d5ea128541f868946990e21071ec00b31b3e1","before":"5c8a5adf223266707b1c8f8d1d32baf9ef3797db","commits":[{"sha":"517d5ea128541f868946990e21071ec00b31b3e1","author":{"name":"Erich Keane","email":"ec9f61fe526c14bb62c55d7c978f025ee6b3583d@intel.com"},"message":"Correct 'target' default behavior on redecl, allow forward declaration.\n\nDeclarations without the attribute were disallowed because it would be\nambiguous which 'target' it was supposed to be on.  For example:\n\nvoid ___attribute__((target(\"v1\"))) foo();\nvoid foo(); // Redecl of above, or fwd decl of below?\nvoid ___attribute__((target(\"v2\"))) foo();\n\nHowever, a first declaration doesn't have that problem, and erroring\nprevents it from working in cases where the forward declaration is\nuseful.\n\nAdditionally, a forward declaration of target==default wouldn't properly\ncause multiversioning, so this patch fixes that.\n\nThe patch was not split since the 'default' fix would require\nimplementing the same check for that case, followed by undoing the same\nchange for the fwd-decl implementation.\n\nChange-Id: I66f2c5bc2477bcd3f7544b9c16c83ece257077b0\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347805 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-mirror/clang/commits/517d5ea128541f868946990e21071ec00b31b3e1"}]}
{"actor":{"display_login":"dtzWill"}}