[cfe-commits] r159691 - in /cfe/trunk: lib/Parse/ParseDecl.cpp lib/Parse/Parser.cpp test/SemaObjC/delay-parsing-cfunctions.m
jahanian
fjahanian at apple.com
Tue Jul 3 16:04:35 PDT 2012
On Jul 3, 2012, at 3:59 PM, Douglas Gregor wrote:
>
> On Jul 3, 2012, at 3:54 PM, Fariborz Jahanian <fjahanian at apple.com> wrote:
>
>> Author: fjahanian
>> Date: Tue Jul 3 17:54:28 2012
>> New Revision: 159691
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=159691&view=rev
>> Log:
>> Obj-C++11 parser: fix broken parsing of c-function
>> defined in class implementations.
>
> Okay, presumably this is because of "= default" and "= delete", e.g.,
>
> struct X {
> X();
> };
>
> @implementation A
> X::X() = default;
> @end
>
> Perhaps you could add something like this as a test?
Above is not impacted. What I need is a test which involves '{' after some kind of
a method declaration, if it is is possible.
- Fariborz
More information about the cfe-commits
mailing list