Skip to content

Commit f3f0672

Browse files
authored
[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 ^~~~~~~~~ ```
1 parent 78941e1 commit f3f0672

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
@@ -2879,9 +2879,9 @@ class Preprocessor {
28792879
/// Alter the state of whether this PP currently is in a
28802880
/// "-Wunsafe-buffer-usage" opt-out region.
28812881
///
2882-
/// \param isEnter: true if this PP is entering a region; otherwise, this PP
2882+
/// \param isEnter true if this PP is entering a region; otherwise, this PP
28832883
/// is exiting a region
2884-
/// \param Loc: the location of the entry or exit of a
2884+
/// \param Loc the location of the entry or exit of a
28852885
/// region
28862886
/// \return true iff it is INVALID to enter or exit a region, i.e.,
28872887
/// attempt to enter a region before exiting a previous region, or exiting a
@@ -2893,7 +2893,7 @@ class Preprocessor {
28932893
/// opt-out region
28942894
bool isPPInSafeBufferOptOutRegion();
28952895

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

0 commit comments

Comments
 (0)