PATCH: Fix parameter documentation for "..." on templated functions

Aaron Ballman aaron at aaronballman.com
Wed Mar 19 06:12:36 PDT 2014


On Tue, Mar 18, 2014 at 3: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.

Both patches LGTM!

~Aaron



More information about the cfe-commits mailing list