[PATCH] PR17337: Retained language linkage

Alp Toker alp at nuanti.com
Tue Oct 22 15:57:51 PDT 2013


Landed in r193206.


On 22/10/2013 18:46, Alp Toker wrote:
> Hello Richard,
>
> With this patch, friend function declarations will retain the language
> linkage specified for previous declarations instead of emitting an error
> diagnostic.
>
> The feature is known to be compatible with GCC and MSVC and permits a
> language to be specified indirectly where it cannot otherwise be written
> directly in class scope.
>
> Further to the previous patch, this feature is now a clang extension so
> warnings can be enabled/disabled with a -Wretained-language-linkage flag
> while we seek clarifications to the language standard. Tests have been
> moved to SemaCXX/linkage-spec.cpp.
>
> Alp.
>

-- 
http://www.nuanti.com
the browser experts




More information about the cfe-commits mailing list