Skip to content

Commit e231d91

Browse files
committed
[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. ``` (cherry picked from commit 18a5ca1)
1 parent 8ecf86a commit e231d91

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
@@ -7763,10 +7763,10 @@ class OMPOrderClause final : public OMPClause {
77637763
/// \param MLoc Location of the modifier
77647764
OMPOrderClause(OpenMPOrderClauseKind A, SourceLocation ALoc,
77657765
SourceLocation StartLoc, SourceLocation LParenLoc,
7766-
SourceLocation EndLoc, OpenMPOrderClauseModifier M,
7766+
SourceLocation EndLoc, OpenMPOrderClauseModifier Modifier,
77677767
SourceLocation MLoc)
77687768
: OMPClause(llvm::omp::OMPC_order, StartLoc, EndLoc),
7769-
LParenLoc(LParenLoc), Kind(A), KindKwLoc(ALoc), Modifier(M),
7769+
LParenLoc(LParenLoc), Kind(A), KindKwLoc(ALoc), Modifier(Modifier),
77707770
ModifierKwLoc(MLoc) {}
77717771

77727772
/// Build an empty clause.

0 commit comments

Comments
 (0)