PATCH: Fix parameter documentation for "..." on templated functions
Dmitri Gribenko
gribozavr at gmail.com
Wed Mar 19 07:10:20 PDT 2014
On Tue, Mar 18, 2014 at 7:26 PM, Joe Ranieri <joe at alacatialabs.com> wrote:
> When -Wdocumentation enabled, Clang is erroneously claiming that there
> is no parameter named "..." for the following code:
> // \param arg An argument
> /// \param ... More arguments
> template<typename T>
> void test_templated_function_variadic(int arg, ...);
>
> The first attached patch fixes this. The second attached patch fixes a
> failed assertion that occurs when dumping the AST of the above code.
LGTM as well! Committed r204235, r204236.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-commits
mailing list