Skip to content

Commit 8ecf86a

Browse files
committed
[Clang] Fix several -Wdocumentation warnings (NFC)
``` clang/include/clang/Lex/Preprocessor.h:2893:14: warning: parameter 'isEnter:' not found in the function declaration [-Wdocumentation] /// \param isEnter: true if this PP is entering a region; otherwise, this PP ^~~~~~~~ clang/include/clang/Lex/Preprocessor.h:2895:14: warning: parameter 'Loc:' not found in the function declaration [-Wdocumentation] /// \param Loc: the location of the entry or exit of a ^~~~ clang/include/clang/Lex/Preprocessor.h:2907:14: warning: parameter 'StartLoc:' not found in the function declaration [-Wdocumentation] /// \param StartLoc: output argument. It will be set to the start location of ^~~~~~~~~ ``` (cherry picked from commit f3f0672)
1 parent 7fed1b8 commit 8ecf86a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)