diff --git a/scripts/generateClangFormatChecksUI.py b/scripts/generateClangFormatChecksUI.py
index 5f9f32fe754..a0a9f37e1ac 100755
--- a/scripts/generateClangFormatChecksUI.py
+++ b/scripts/generateClangFormatChecksUI.py
@@ -141,6 +141,10 @@ def create_checks(variables, enums, structs, offset = ""):
checks += combobox_ui("BasedOnStyle", ["LLVM", "Google", "Chromium", "Mozilla", "WebKit", "Microsoft", "GNU"], create_checks_index)
for variable in variables:
+ if "doxygen" in variable.keys():
+ if ("**deprecated**" in variable['doxygen']):
+ continue;
+
create_checks_index += 1
type = variable["type"]
name = variable["name"]
diff --git a/src/plugins/clangformat/clangformatchecks.ui b/src/plugins/clangformat/clangformatchecks.ui
index 58d0388f321..e24ce37ef79 100644
--- a/src/plugins/clangformat/clangformatchecks.ui
+++ b/src/plugins/clangformat/clangformatchecks.ui
@@ -451,42 +451,13 @@
-
-
-
- AllowAllConstructorInitializersOnNextLine
-
-
-
- -
-
-
- Qt::StrongFocus
-
-
-
-
- Default
-
-
- -
-
- true
-
-
- -
-
- false
-
-
-
-
- -
AllowAllParametersOfDeclarationOnNextLine
- -
+
-
Qt::StrongFocus
@@ -508,14 +479,14 @@
- -
+
-
AllowShortEnumsOnASingleLine
- -
+
-
Qt::StrongFocus
@@ -537,14 +508,14 @@
- -
+
-
AllowShortBlocksOnASingleLine
- -
+
-
Qt::StrongFocus
@@ -566,14 +537,14 @@
- -
+
-
AllowShortCaseLabelsOnASingleLine
- -
+
-
Qt::StrongFocus
@@ -595,14 +566,14 @@
- -
+
-
AllowShortFunctionsOnASingleLine
- -
+
-
Qt::StrongFocus
@@ -634,14 +605,14 @@
- -
+
-
AllowShortIfStatementsOnASingleLine
- -
+
-
Qt::StrongFocus
@@ -668,14 +639,14 @@
- -
+
-
AllowShortLambdasOnASingleLine
- -
+
-
Qt::StrongFocus
@@ -702,14 +673,14 @@
- -
+
-
AllowShortLoopsOnASingleLine
- -
+
-
Qt::StrongFocus
@@ -731,43 +702,14 @@
- -
-
-
- AlwaysBreakAfterDefinitionReturnType
-
-
-
- -
-
-
- Qt::StrongFocus
-
-
-
-
- None
-
-
- -
-
- All
-
-
- -
-
- TopLevel
-
-
-
-
- -
+
-
AlwaysBreakAfterReturnType
- -
+
-
Qt::StrongFocus
@@ -799,14 +741,14 @@
- -
+
-
AlwaysBreakBeforeMultilineStrings
- -
+
-
Qt::StrongFocus
@@ -828,14 +770,14 @@
- -
+
-
AlwaysBreakTemplateDeclarations
- -
+
-
Qt::StrongFocus
@@ -857,14 +799,14 @@
- -
+
-
AttributeMacros
- -
+
-
-
@@ -894,14 +836,14 @@
- -
+
-
BinPackArguments
- -
+
-
Qt::StrongFocus
@@ -923,14 +865,14 @@
- -
+
-
InsertTrailingCommas
- -
+
-
Qt::StrongFocus
@@ -947,14 +889,14 @@
- -
+
-
BinPackParameters
- -
+
-
Qt::StrongFocus
@@ -976,14 +918,14 @@
- -
+
-
BreakBeforeBinaryOperators
- -
+
-
Qt::StrongFocus
@@ -1005,14 +947,14 @@
- -
+
-
BreakBeforeBraces
- -
+
-
Qt::StrongFocus
@@ -1064,21 +1006,21 @@
- -
+
-
BraceWrapping
- -
+
-
AfterCaseLabel
- -
+
-
Qt::StrongFocus
@@ -1100,14 +1042,14 @@
- -
+
-
AfterClass
- -
+
-
Qt::StrongFocus
@@ -1129,14 +1071,14 @@
- -
+
-
AfterControlStatement
- -
+
-
Qt::StrongFocus
@@ -1158,14 +1100,14 @@
- -
+
-
AfterEnum
- -
+
-
Qt::StrongFocus
@@ -1187,14 +1129,14 @@
- -
+
-
AfterFunction
- -
+
-
Qt::StrongFocus
@@ -1216,14 +1158,14 @@
- -
+
-
AfterNamespace
- -
+
-
Qt::StrongFocus
@@ -1245,14 +1187,14 @@
- -
+
-
AfterObjCDeclaration
- -
+
-
Qt::StrongFocus
@@ -1274,14 +1216,14 @@
- -
+
-
AfterStruct
- -
+
-
Qt::StrongFocus
@@ -1303,14 +1245,14 @@
- -
+
-
AfterUnion
- -
+
-
Qt::StrongFocus
@@ -1332,14 +1274,14 @@
- -
+
-
AfterExternBlock
- -
+
-
Qt::StrongFocus
@@ -1361,14 +1303,14 @@
- -
+
-
BeforeCatch
- -
+
-
Qt::StrongFocus
@@ -1390,14 +1332,14 @@
- -
+
-
BeforeElse
- -
+
-
Qt::StrongFocus
@@ -1419,14 +1361,14 @@
- -
+
-
BeforeLambdaBody
- -
+
-
Qt::StrongFocus
@@ -1448,14 +1390,14 @@
- -
+
-
BeforeWhile
- -
+
-
Qt::StrongFocus
@@ -1477,14 +1419,14 @@
- -
+
-
IndentBraces
- -
+
-
Qt::StrongFocus
@@ -1506,14 +1448,14 @@
- -
+
-
SplitEmptyFunction
- -
+
-
Qt::StrongFocus
@@ -1535,14 +1477,14 @@
- -
+
-
SplitEmptyRecord
- -
+
-
Qt::StrongFocus
@@ -1564,14 +1506,14 @@
- -
+
-
SplitEmptyNamespace
- -
+
-
Qt::StrongFocus
@@ -1593,14 +1535,14 @@
- -
+
-
BreakBeforeConceptDeclarations
- -
+
-
Qt::StrongFocus
@@ -1622,14 +1564,14 @@
- -
+
-
BreakBeforeTernaryOperators
- -
+
-
Qt::StrongFocus
@@ -1651,14 +1593,14 @@
- -
+
-
BreakConstructorInitializers
- -
+
-
Qt::StrongFocus
@@ -1680,14 +1622,14 @@
- -
+
-
BreakAfterJavaFieldAnnotations
- -
+
-
Qt::StrongFocus
@@ -1709,14 +1651,14 @@
- -
+
-
BreakStringLiterals
- -
+
-
Qt::StrongFocus
@@ -1738,14 +1680,14 @@
- -
+
-
ColumnLimit
- -
+
-
-
@@ -1766,14 +1708,14 @@
- -
+
-
CommentPragmas
- -
+
-
-
@@ -1794,14 +1736,14 @@
- -
+
-
QualifierAlignment
- -
+
-
Qt::StrongFocus
@@ -1828,14 +1770,14 @@
- -
+
-
QualifierOrder
- -
+
-
-
@@ -1865,14 +1807,14 @@
- -
+
-
BreakInheritanceList
- -
+
-
Qt::StrongFocus
@@ -1899,14 +1841,14 @@
- -
+
-
CompactNamespaces
- -
+
-
Qt::StrongFocus
@@ -1928,43 +1870,14 @@
- -
-
-
- ConstructorInitializerAllOnOneLineOrOnePerLine
-
-
-
- -
-
-
- Qt::StrongFocus
-
-
-
-
- Default
-
-
- -
-
- true
-
-
- -
-
- false
-
-
-
-
- -
+
-
ConstructorInitializerIndentWidth
- -
+
-
-
@@ -1985,14 +1898,14 @@
- -
+
-
ContinuationIndentWidth
- -
+
-
-
@@ -2013,14 +1926,14 @@
- -
+
-
Cpp11BracedListStyle
- -
+
-
Qt::StrongFocus
@@ -2042,14 +1955,14 @@
- -
+
-
DeriveLineEnding
- -
+
-
Qt::StrongFocus
@@ -2071,14 +1984,14 @@
- -
+
-
DerivePointerAlignment
- -
+
-
Qt::StrongFocus
@@ -2100,14 +2013,14 @@
- -
+
-
DisableFormat
- -
+
-
Qt::StrongFocus
@@ -2129,14 +2042,14 @@
- -
+
-
EmptyLineAfterAccessModifier
- -
+
-
Qt::StrongFocus
@@ -2158,14 +2071,14 @@
- -
+
-
EmptyLineBeforeAccessModifier
- -
+
-
Qt::StrongFocus
@@ -2192,14 +2105,14 @@
- -
+
-
ExperimentalAutoDetectBinPacking
- -
+
-
Qt::StrongFocus
@@ -2221,14 +2134,14 @@
- -
+
-
PackConstructorInitializers
- -
+
-
Qt::StrongFocus
@@ -2255,14 +2168,14 @@
- -
+
-
FixNamespaceComments
- -
+
-
Qt::StrongFocus
@@ -2284,14 +2197,14 @@
- -
+
-
ForEachMacros
- -
+
-
-
@@ -2321,14 +2234,14 @@
- -
+
-
IfMacros
- -
+
-
-
@@ -2358,14 +2271,14 @@
- -
+
-
TypenameMacros
- -
+
-
-
@@ -2395,14 +2308,14 @@
- -
+
-
StatementMacros
- -
+
-
-
@@ -2432,14 +2345,14 @@
- -
+
-
NamespaceMacros
- -
+
-
-
@@ -2469,14 +2382,14 @@
- -
+
-
WhitespaceSensitiveMacros
- -
+
-
-
@@ -2506,14 +2419,14 @@
- -
+
-
IndentAccessModifiers
- -
+
-
Qt::StrongFocus
@@ -2535,14 +2448,14 @@
- -
+
-
IndentCaseLabels
- -
+
-
Qt::StrongFocus
@@ -2564,14 +2477,14 @@
- -
+
-
IndentCaseBlocks
- -
+
-
Qt::StrongFocus
@@ -2593,14 +2506,14 @@
- -
+
-
IndentGotoLabels
- -
+
-
Qt::StrongFocus
@@ -2622,14 +2535,14 @@
- -
+
-
IndentPPDirectives
- -
+
-
Qt::StrongFocus
@@ -2651,14 +2564,14 @@
- -
+
-
IndentExternBlock
- -
+
-
Qt::StrongFocus
@@ -2680,14 +2593,14 @@
- -
+
-
IndentRequires
- -
+
-
Qt::StrongFocus
@@ -2709,14 +2622,14 @@
- -
+
-
IndentWidth
- -
+
-
-
@@ -2737,14 +2650,14 @@
- -
+
-
IndentWrappedFunctionNames
- -
+
-
Qt::StrongFocus
@@ -2766,14 +2679,14 @@
- -
+
-
JavaImportGroups
- -
+
-
-
@@ -2803,14 +2716,14 @@
- -
+
-
JavaScriptQuotes
- -
+
-
Qt::StrongFocus
@@ -2832,14 +2745,14 @@
- -
+
-
JavaScriptWrapImports
- -
+
-
Qt::StrongFocus
@@ -2861,14 +2774,14 @@
- -
+
-
KeepEmptyLinesAtTheStartOfBlocks
- -
+
-
Qt::StrongFocus
@@ -2890,14 +2803,14 @@
- -
+
-
Language
- -
+
-
Qt::StrongFocus
@@ -2954,14 +2867,14 @@
- -
+
-
LambdaBodyIndentation
- -
+
-
Qt::StrongFocus
@@ -2978,14 +2891,14 @@
- -
+
-
MacroBlockBegin
- -
+
-
-
@@ -3006,14 +2919,14 @@
- -
+
-
MacroBlockEnd
- -
+
-
-
@@ -3034,14 +2947,14 @@
- -
+
-
MaxEmptyLinesToKeep
- -
+
-
-
@@ -3062,14 +2975,14 @@
- -
+
-
NamespaceIndentation
- -
+
-
Qt::StrongFocus
@@ -3091,14 +3004,14 @@
- -
+
-
ObjCBinPackProtocolList
- -
+
-
Qt::StrongFocus
@@ -3120,14 +3033,14 @@
- -
+
-
ObjCBlockIndentWidth
- -
+
-
-
@@ -3148,14 +3061,14 @@
- -
+
-
ObjCSpaceAfterProperty
- -
+
-
Qt::StrongFocus
@@ -3177,14 +3090,14 @@
- -
+
-
ObjCBreakBeforeNestedBlockParam
- -
+
-
Qt::StrongFocus
@@ -3206,14 +3119,14 @@
- -
+
-
ObjCSpaceBeforeProtocolList
- -
+
-
Qt::StrongFocus
@@ -3235,14 +3148,14 @@
- -
+
-
PenaltyBreakAssignment
- -
+
-
-
@@ -3263,14 +3176,14 @@
- -
+
-
PenaltyBreakBeforeFirstCallParameter
- -
+
-
-
@@ -3291,14 +3204,14 @@
- -
+
-
PenaltyBreakComment
- -
+
-
-
@@ -3319,14 +3232,14 @@
- -
+
-
PenaltyBreakFirstLessLess
- -
+
-
-
@@ -3347,14 +3260,14 @@
- -
+
-
PenaltyBreakOpenParenthesis
- -
+
-
-
@@ -3375,14 +3288,14 @@
- -
+
-
PenaltyBreakString
- -
+
-
-
@@ -3403,14 +3316,14 @@
- -
+
-
PenaltyBreakTemplateDeclaration
- -
+
-
-
@@ -3431,14 +3344,14 @@
- -
+
-
PenaltyExcessCharacter
- -
+
-
-
@@ -3459,14 +3372,14 @@
- -
+
-
PenaltyReturnTypeOnItsOwnLine
- -
+
-
-
@@ -3487,14 +3400,14 @@
- -
+
-
PenaltyIndentedWhitespace
- -
+
-
-
@@ -3515,14 +3428,14 @@
- -
+
-
PointerAlignment
- -
+
-
Qt::StrongFocus
@@ -3544,14 +3457,14 @@
- -
+
-
PPIndentWidth
- -
+
-
-
@@ -3572,14 +3485,14 @@
- -
+
-
ReferenceAlignment
- -
+
-
Qt::StrongFocus
@@ -3606,14 +3519,14 @@
- -
+
-
ReflowComments
- -
+
-
Qt::StrongFocus
@@ -3635,14 +3548,14 @@
- -
+
-
RemoveBracesLLVM
- -
+
-
Qt::StrongFocus
@@ -3664,14 +3577,14 @@
- -
+
-
SeparateDefinitionBlocks
- -
+
-
Qt::StrongFocus
@@ -3693,14 +3606,14 @@
- -
+
-
ShortNamespaceLines
- -
+
-
-
@@ -3721,14 +3634,14 @@
- -
+
-
SortIncludes
- -
+
-
Qt::StrongFocus
@@ -3750,14 +3663,14 @@
- -
+
-
SortJavaStaticImport
- -
+
-
Qt::StrongFocus
@@ -3774,14 +3687,14 @@
- -
+
-
SortUsingDeclarations
- -
+
-
Qt::StrongFocus
@@ -3803,14 +3716,14 @@
- -
+
-
SpaceAfterCStyleCast
- -
+
-
Qt::StrongFocus
@@ -3832,14 +3745,14 @@
- -
+
-
SpaceAfterLogicalNot
- -
+
-
Qt::StrongFocus
@@ -3861,14 +3774,14 @@
- -
+
-
SpaceAfterTemplateKeyword
- -
+
-
Qt::StrongFocus
@@ -3890,14 +3803,14 @@
- -
+
-
SpaceAroundPointerQualifiers
- -
+
-
Qt::StrongFocus
@@ -3924,14 +3837,14 @@
- -
+
-
SpaceBeforeAssignmentOperators
- -
+
-
Qt::StrongFocus
@@ -3953,14 +3866,14 @@
- -
+
-
SpaceBeforeCaseColon
- -
+
-
Qt::StrongFocus
@@ -3982,14 +3895,14 @@
- -
+
-
SpaceBeforeCpp11BracedList
- -
+
-
Qt::StrongFocus
@@ -4011,14 +3924,14 @@
- -
+
-
SpaceBeforeCtorInitializerColon
- -
+
-
Qt::StrongFocus
@@ -4040,14 +3953,14 @@
- -
+
-
SpaceBeforeInheritanceColon
- -
+
-
Qt::StrongFocus
@@ -4069,14 +3982,14 @@
- -
+
-
SpaceBeforeParens
- -
+
-
Qt::StrongFocus
@@ -4113,21 +4026,21 @@
- -
+
-
SpaceBeforeParensOptions
- -
+
-
AfterControlStatements
- -
+
-
Qt::StrongFocus
@@ -4149,14 +4062,14 @@
- -
+
-
AfterForeachMacros
- -
+
-
Qt::StrongFocus
@@ -4178,14 +4091,14 @@
- -
+
-
AfterFunctionDeclarationName
- -
+
-
Qt::StrongFocus
@@ -4207,14 +4120,14 @@
- -
+
-
AfterFunctionDefinitionName
- -
+
-
Qt::StrongFocus
@@ -4236,14 +4149,14 @@
- -
+
-
AfterIfMacros
- -
+
-
Qt::StrongFocus
@@ -4265,14 +4178,14 @@
- -
+
-
AfterOverloadedOperator
- -
+
-
Qt::StrongFocus
@@ -4294,14 +4207,14 @@
- -
+
-
BeforeNonEmptyParentheses
- -
+
-
Qt::StrongFocus
@@ -4323,14 +4236,14 @@
- -
+
-
SpaceBeforeRangeBasedForLoopColon
- -
+
-
Qt::StrongFocus
@@ -4352,14 +4265,14 @@
- -
+
-
SpaceInEmptyBlock
- -
+
-
Qt::StrongFocus
@@ -4381,14 +4294,14 @@
- -
+
-
SpaceInEmptyParentheses
- -
+
-
Qt::StrongFocus
@@ -4410,14 +4323,14 @@
- -
+
-
SpacesBeforeTrailingComments
- -
+
-
-
@@ -4438,14 +4351,14 @@
- -
+
-
SpacesInAngles
- -
+
-
Qt::StrongFocus
@@ -4467,14 +4380,14 @@
- -
+
-
SpacesInConditionalStatement
- -
+
-
Qt::StrongFocus
@@ -4496,14 +4409,14 @@
- -
+
-
SpacesInContainerLiterals
- -
+
-
Qt::StrongFocus
@@ -4525,14 +4438,14 @@
- -
+
-
SpacesInCStyleCastParentheses
- -
+
-
Qt::StrongFocus
@@ -4554,21 +4467,21 @@
- -
+
-
SpacesInLineCommentPrefix
- -
+
-
Minimum
- -
+
-
-
@@ -4589,14 +4502,14 @@
- -
+
-
Maximum
- -
+
-
-
@@ -4617,14 +4530,14 @@
- -
+
-
SpacesInParentheses
- -
+
-
Qt::StrongFocus
@@ -4646,14 +4559,14 @@
- -
+
-
SpacesInSquareBrackets
- -
+
-
Qt::StrongFocus
@@ -4675,14 +4588,14 @@
- -
+
-
SpaceBeforeSquareBrackets
- -
+
-
Qt::StrongFocus
@@ -4704,14 +4617,14 @@
- -
+
-
BitFieldColonSpacing
- -
+
-
Qt::StrongFocus
@@ -4738,14 +4651,14 @@
- -
+
-
Standard
- -
+
-
Qt::StrongFocus
@@ -4787,14 +4700,14 @@
- -
+
-
StatementAttributeLikeMacros
- -
+
-
-
@@ -4824,14 +4737,14 @@
- -
+
-
TabWidth
- -
+
-
-
@@ -4852,14 +4765,14 @@
- -
+
-
UseCRLF
- -
+
-
Qt::StrongFocus
@@ -4881,14 +4794,14 @@
- -
+
-
UseTab
- -
+
-
Qt::StrongFocus