You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
status RESOLVED severity normal in component general for ---
Reported in version 1.8.10 on platform Other
Assigned to: Dimitri van Heesch
On 2015-12-10 00:27:39 +0000, Jonathan Wakely wrote:
Doxygen doesn't have any way to document unnamed parameters, but giving them a name leads to compiler warnings. An obvious solution is to name the parameter but mark it unused, but doxygen can't cope with that either:
@param i an unused argument
*/
void f(int i [[gnu:unused]]) { }
};
/tmp/doxygen/include/un.cpp:4: warning: argument 'i' of command @param is not found in the argument list of S::f(int i][[gnu:unused])
There's no warning if the code looks like this:
void f(int [[gnu:unused]] i) { }
But that's not the right syntax, because there the attribute applies to the type, not the parameter.
Again, Doxygen should use a conforming parser such as libclang, rather than maintaining its own.
On 2015-12-13 12:17:33 +0000, Dimitri van Heesch wrote:
I'll add support for C++11 style attributes.
Should be fixed in the next GIT update.
I agree that using libclang for C++ parser support would be an improvement, but it is not so easy and the last time I looked the API had blocking limitations (partial code parsing, macros, typedef handling...)
On 2015-12-30 10:19:22 +0000, Dimitri van Heesch wrote:
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).
On 2016-09-30 19:07:55 +0000, Thomas Braun wrote:
What happens with the C++11 attribute? Is it stored in e.g the XML output? I'd like to include it in the output.
$cat test.h
[[ threadsafe ]] MyFunc();
echo "GENERATE_XML = YES" | doxygen -
gives
test.h
MyFunc
()
MyFunc
[[threadsafe]]MyFunc();
The text was updated successfully, but these errors were encountered:
status RESOLVED severity normal in component general for ---
Reported in version 1.8.10 on platform Other
Assigned to: Dimitri van Heesch
On 2015-12-10 00:27:39 +0000, Jonathan Wakely wrote:
On 2015-12-13 12:17:33 +0000, Dimitri van Heesch wrote:
On 2015-12-30 10:19:22 +0000, Dimitri van Heesch wrote:
On 2016-09-30 19:07:55 +0000, Thomas Braun wrote:
The text was updated successfully, but these errors were encountered: