Skip to content

Commit f4bd5e3

Browse files
committed
issue doxygen#11377 [in,out] param dir ignored for inline documentation
The position of the `out` direction should be calculated after that the `in` direction has been removed (otherwise the start position might not be correct). Regression on: ``` Commit: 1af459c [1af459c] Date: Sunday, April 21, 2024 12:34:37 PM Refactoring: make sure all variables are initialized Found using clang tidy's cppcoreguidelines-init-variables check ```
1 parent 0a13db0 commit f4bd5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6647,8 +6647,8 @@ QCString extractDirection(QCString &docs)
66476647
),dir.end());
66486648
unsigned char ioMask=0;
66496649
size_t inIndex = dir.find( "in");
6650-
size_t outIndex = dir.find("out");
66516650
if ( inIndex!=std::string::npos) dir.erase( inIndex,2),ioMask|=(1<<0);
6651+
size_t outIndex = dir.find("out");
66526652
if (outIndex!=std::string::npos) dir.erase(outIndex,3),ioMask|=(1<<1);
66536653
if (dir.empty() && ioMask!=0) // only in and/or out attributes found
66546654
{

0 commit comments

Comments
 (0)