[clang] fce8c10 - Fix Wdocumentation warning by consistently using '///' comment blocks. NFCI.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 20 04:37:31 PDT 2021
Author: Simon Pilgrim
Date: 2021-04-20T12:37:00+01:00
New Revision: fce8c10b6813ef283b68275b0dabc813f0310958
URL: https://github.com/llvm/llvm-project/commit/fce8c10b6813ef283b68275b0dabc813f0310958
DIFF: https://github.com/llvm/llvm-project/commit/fce8c10b6813ef283b68275b0dabc813f0310958.diff
LOG: Fix Wdocumentation warning by consistently using '///' comment blocks. NFCI.
Added:
Modified:
clang/include/clang/Format/Format.h
Removed:
################################################################################
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index 104b9346cf529..98d2f16e2eefb 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -1918,19 +1918,19 @@ struct FormatStyle {
/// \code
/// struct foo {
/// private:
- //
+ ///
/// int i;
/// protected:
- //
+ ///
/// int j;
/// /* comment */
/// public:
- //
+ ///
/// foo() {}
/// private:
///
/// protected:
- //
+ ///
/// };
/// \endcode
ELAAMS_Always,
More information about the cfe-commits
mailing list