Skip to content

Commit 8db03ad

Browse files
authored
Merge pull request #7819 from apple/egorzhdan/wdocumentation-warnings-20230725
🍒[Clang] Fix -Wdocumentation warnings (NFC)
2 parents 307b593 + e231d91 commit 8db03ad

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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.

clang/include/clang/Lex/Preprocessor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2890,9 +2890,9 @@ class Preprocessor {
28902890
/// Alter the state of whether this PP currently is in a
28912891
/// "-Wunsafe-buffer-usage" opt-out region.
28922892
///
2893-
/// \param isEnter: true if this PP is entering a region; otherwise, this PP
2893+
/// \param isEnter true if this PP is entering a region; otherwise, this PP
28942894
/// is exiting a region
2895-
/// \param Loc: the location of the entry or exit of a
2895+
/// \param Loc the location of the entry or exit of a
28962896
/// region
28972897
/// \return true iff it is INVALID to enter or exit a region, i.e.,
28982898
/// attempt to enter a region before exiting a previous region, or exiting a
@@ -2904,7 +2904,7 @@ class Preprocessor {
29042904
/// opt-out region
29052905
bool isPPInSafeBufferOptOutRegion();
29062906

2907-
/// \param StartLoc: output argument. It will be set to the start location of
2907+
/// \param StartLoc output argument. It will be set to the start location of
29082908
/// the current "-Wunsafe-buffer-usage" opt-out region iff this function
29092909
/// returns true.
29102910
/// \return true iff this PP is currently in a "-Wunsafe-buffer-usage"

0 commit comments

Comments
 (0)