[cfe-dev] [PATCH] Fix parsing comma in default arguments.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jun 12 05:03:18 PDT 2013


>From git log this might be Richard's area.

On 12 June 2013 05:15, Olivier Goffart <ogoffart at kde.org> wrote:
> Hi,
>
> About a moth ago I posted a patch on cfe-commits, but i did not get any reply,
> so I am reposting to this list.
>
> The patch fixes the bug
> http://llvm.org/bugs/show_bug.cgi?id=13657
>
> It fixes parsing of code such as:
>
> struct S {
>  void foo(map<int, int> m = map<int, int>()) ;
> };
>
> Or, in C++11:
>
> struct S {
>   map<int, int> m = map<int, int>();
> };
>
> Link to my post on cfe-commits:
> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130527/080812.html
>
> --
> Olivier
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list