[clang] e9f2d47 - [clang-format][NFC] Remove unused FormatStyle members

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 22:34:41 PDT 2022


Author: owenca
Date: 2022-06-09T22:34:31-07:00
New Revision: e9f2d47bfe29c31c7a1b43a2cc503ed9cdc0fbad

URL: https://github.com/llvm/llvm-project/commit/e9f2d47bfe29c31c7a1b43a2cc503ed9cdc0fbad
DIFF: https://github.com/llvm/llvm-project/commit/e9f2d47bfe29c31c7a1b43a2cc503ed9cdc0fbad.diff

LOG: [clang-format][NFC] Remove unused FormatStyle members

Differential Revision: https://reviews.llvm.org/D127390

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 d53e5d020c4a..bbd96af6154a 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -395,11 +395,6 @@ struct FormatStyle {
   /// \version 9
   bool AllowAllArgumentsOnNextLine;
 
-  /// This option is **deprecated**. See ``NextLine`` of
-  /// ``PackConstructorInitializers``.
-  /// \version 9
-  bool AllowAllConstructorInitializersOnNextLine;
-
   /// If the function declaration doesn't fit on a line,
   /// allow putting all parameters of a function declaration onto
   /// the next line even if ``BinPackParameters`` is ``false``.
@@ -1883,11 +1878,6 @@ struct FormatStyle {
   /// \version 5
   bool CompactNamespaces;
 
-  /// This option is **deprecated**. See ``CurrentLine`` of
-  /// ``PackConstructorInitializers``.
-  /// \version 3.7
-  bool ConstructorInitializerAllOnOneLineOrOnePerLine;
-
   /// The number of characters to use for indentation of constructor
   /// initializer lists as well as inheritance lists.
   /// \version 3.7


        


More information about the cfe-commits mailing list