Skip to content

Commit 18a5ca1

Browse files
authored
[Clang] Fix -Wdocumentation warning (NFC)
``` llvm-project/clang/include/clang/AST/OpenMPClause.h:7762:14: warning: parameter 'Modifier' not found in the function declaration [-Wdocumentation] /// \param Modifier The modifier applied to 'order' clause. ^~~~~~~~ llvm-project/clang/include/clang/AST/OpenMPClause.h:7762:14: note: did you mean 'M'? /// \param Modifier The modifier applied to 'order' clause. ```
1 parent 89a8324 commit 18a5ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/AST/OpenMPClause.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7776,10 +7776,10 @@ class OMPOrderClause final : public OMPClause {
77767776
/// \param MLoc Location of the modifier
77777777
OMPOrderClause(OpenMPOrderClauseKind A, SourceLocation ALoc,
77787778
SourceLocation StartLoc, SourceLocation LParenLoc,
7779-
SourceLocation EndLoc, OpenMPOrderClauseModifier M,
7779+
SourceLocation EndLoc, OpenMPOrderClauseModifier Modifier,
77807780
SourceLocation MLoc)
77817781
: OMPClause(llvm::omp::OMPC_order, StartLoc, EndLoc),
7782-
LParenLoc(LParenLoc), Kind(A), KindKwLoc(ALoc), Modifier(M),
7782+
LParenLoc(LParenLoc), Kind(A), KindKwLoc(ALoc), Modifier(Modifier),
77837783
ModifierKwLoc(MLoc) {}
77847784

77857785
/// Build an empty clause.

0 commit comments

Comments
 (0)