Skip to content

Commit

Permalink
Ban @ doxygen style annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 16, 2018
1 parent da487e2 commit 1d111ce
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingconfigurationwidgets.cpp
Expand Up @@ -124,7 +124,7 @@ void QgsFilterAlgorithmConfigurationWidget::removeSelectedOutputs()
rows.append( index.row() );
}

std::sort( rows );
std::sort( rows.begin(), rows.end() );

int prev = -1;
for ( int i = rows.count() - 1; i >= 0; i -= 1 )
Expand Down
18 changes: 18 additions & 0 deletions tests/code_layout/test_banned_keywords.sh
Expand Up @@ -38,6 +38,24 @@ HINTS[9]="Use std::round instead"
KEYWORDS[10]="\bqSort("
HINTS[10]="Use std::sort instead"

KEYWORDS[11]="@param"
HINTS[11]="Use \param instead (works correct with Python docstrings)"

KEYWORDS[12]="@return"
HINTS[12]="Use \returns instead (works correct with Python docstrings)"

KEYWORDS[13]="@note"
HINTS[13]="Use \note instead (works correct with Python docstrings)"

KEYWORDS[14]="@since"
HINTS[14]="Use \since instead (works correct with Python docstrings)"

KEYWORDS[15]="@warning"
HINTS[15]="Use \warning instead (works correct with Python docstrings)"

KEYWORDS[11]="@deprecated"
HINTS[11]="Use \deprecated instead (works correct with Python docstrings)"

RES=
DIR=$(git rev-parse --show-toplevel)

Expand Down

0 comments on commit 1d111ce

Please sign in to comment.