[cfe-commits] r126153 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaType.cpp test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp
Richard Smith
richard at metafoo.co.uk
Mon Feb 21 16:24:58 PST 2011
On Mon, February 21, 2011 23:42, Douglas Gregor wrote:
> On Feb 21, 2011, at 3:18 PM, Richard Smith wrote:
>> Author: rsmith
>> Date: Mon Feb 21 17:18:00 2011
>> New Revision: 126153
>>
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=126153&view=rev
>> Log:
>> C++0x's deduced auto is illegal in typedefs.
>>
>>
>> This actually rules out too much, since it also catches typedefs for
>> pointers to functions with trailing return types:
>>
>> typedef auto (*F)() -> int;
>>
>> Fix for that (and the same issue in all abstract-declarators) to follow
>> shortly.
>
> Isn't there a PR associated with this change? It would be helpful to
> mention the PR number in the commit message and test case.
Oops, sorry about that. I've added a comment referencing PR 9278 to the
test case in r126164.
Thanks,
Richard
More information about the cfe-commits
mailing list