On Jul 3, 2012, at 3:02 PM, Jean-Daniel Dupas wrote:
> This commit broke the Obj-C++11 parser:
I turned it off for Obj-C++11 parser until I get the chance to look at it.
This is in r159690
- Fariborz
>
> ---- foo.mm
> @interface Foo
> @end
>
> @implementation Foo
>
> static int test() {
> return 0;
> }
>
> @end
>
> ----------
> clang++ -fsyntax-only -std=c++11 foo.mm
> foo.mm:8:2: error: expected expression
> return 0;
> ^
> foo.mm:9:2: error: expected ';' after top level declarator
> }
> ^
> ;
> foo.mm:12:1: error: missing '@end'
> ^
>
> @end
>
> foo.mm:5:1: note: implementation started here
> @implementation Foo
> ^
> 3 errors generated.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits