Lines Matching defs:LLVMStyle
1472 FormatStyle LLVMStyle;
1473 LLVMStyle.AccessModifierOffset = -2;
1474 LLVMStyle.AlignAfterOpenBracket = FormatStyle::BAS_Align;
1475 LLVMStyle.AlignArrayOfStructures = FormatStyle::AIAS_None;
1476 LLVMStyle.AlignConsecutiveAssignments = {};
1477 LLVMStyle.AlignConsecutiveAssignments.PadOperators = true;
1478 LLVMStyle.AlignConsecutiveBitFields = {};
1479 LLVMStyle.AlignConsecutiveDeclarations = {};
1480 LLVMStyle.AlignConsecutiveDeclarations.AlignFunctionDeclarations = true;
1481 LLVMStyle.AlignConsecutiveMacros = {};
1482 LLVMStyle.AlignConsecutiveShortCaseStatements = {};
1483 LLVMStyle.AlignConsecutiveTableGenBreakingDAGArgColons = {};
1484 LLVMStyle.AlignConsecutiveTableGenCondOperatorColons = {};
1485 LLVMStyle.AlignConsecutiveTableGenDefinitionColons = {};
1486 LLVMStyle.AlignEscapedNewlines = FormatStyle::ENAS_Right;
1487 LLVMStyle.AlignOperands = FormatStyle::OAS_Align;
1488 LLVMStyle.AlignTrailingComments = {};
1489 LLVMStyle.AlignTrailingComments.Kind = FormatStyle::TCAS_Always;
1490 LLVMStyle.AlignTrailingComments.OverEmptyLines = 0;
1491 LLVMStyle.AllowAllArgumentsOnNextLine = true;
1492 LLVMStyle.AllowAllParametersOfDeclarationOnNextLine = true;
1493 LLVMStyle.AllowBreakBeforeNoexceptSpecifier = FormatStyle::BBNSS_Never;
1494 LLVMStyle.AllowShortBlocksOnASingleLine = FormatStyle::SBS_Never;
1495 LLVMStyle.AllowShortCaseExpressionOnASingleLine = true;
1496 LLVMStyle.AllowShortCaseLabelsOnASingleLine = false;
1497 LLVMStyle.AllowShortCompoundRequirementOnASingleLine = true;
1498 LLVMStyle.AllowShortEnumsOnASingleLine = true;
1499 LLVMStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All;
1500 LLVMStyle.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never;
1501 LLVMStyle.AllowShortLambdasOnASingleLine = FormatStyle::SLS_All;
1502 LLVMStyle.AllowShortLoopsOnASingleLine = false;
1503 LLVMStyle.AllowShortNamespacesOnASingleLine = false;
1504 LLVMStyle.AlwaysBreakAfterDefinitionReturnType = FormatStyle::DRTBS_None;
1505 LLVMStyle.AlwaysBreakBeforeMultilineStrings = false;
1506 LLVMStyle.AttributeMacros.push_back("__capability");
1507 LLVMStyle.BinPackArguments = true;
1508 LLVMStyle.BinPackParameters = FormatStyle::BPPS_BinPack;
1509 LLVMStyle.BitFieldColonSpacing = FormatStyle::BFCS_Both;
1510 LLVMStyle.BracedInitializerIndentWidth = std::nullopt;
1511 LLVMStyle.BraceWrapping = {/*AfterCaseLabel=*/false,
1529 LLVMStyle.BreakAdjacentStringLiterals = true;
1530 LLVMStyle.BreakAfterAttributes = FormatStyle::ABS_Leave;
1531 LLVMStyle.BreakAfterJavaFieldAnnotations = false;
1532 LLVMStyle.BreakAfterReturnType = FormatStyle::RTBS_None;
1533 LLVMStyle.BreakArrays = true;
1534 LLVMStyle.BreakBeforeBinaryOperators = FormatStyle::BOS_None;
1535 LLVMStyle.BreakBeforeBraces = FormatStyle::BS_Attach;
1536 LLVMStyle.BreakBeforeConceptDeclarations = FormatStyle::BBCDS_Always;
1537 LLVMStyle.BreakBeforeInlineASMColon = FormatStyle::BBIAS_OnlyMultiline;
1538 LLVMStyle.BreakBeforeTernaryOperators = true;
1539 LLVMStyle.BreakBinaryOperations = FormatStyle::BBO_Never;
1540 LLVMStyle.BreakConstructorInitializers = FormatStyle::BCIS_BeforeColon;
1541 LLVMStyle.BreakFunctionDefinitionParameters = false;
1542 LLVMStyle.BreakInheritanceList = FormatStyle::BILS_BeforeColon;
1543 LLVMStyle.BreakStringLiterals = true;
1544 LLVMStyle.BreakTemplateDeclarations = FormatStyle::BTDS_MultiLine;
1545 LLVMStyle.ColumnLimit = 80;
1546 LLVMStyle.CommentPragmas = "^ IWYU pragma:";
1547 LLVMStyle.CompactNamespaces = false;
1548 LLVMStyle.ConstructorInitializerIndentWidth = 4;
1549 LLVMStyle.ContinuationIndentWidth = 4;
1550 LLVMStyle.Cpp11BracedListStyle = true;
1551 LLVMStyle.DerivePointerAlignment = false;
1552 LLVMStyle.DisableFormat = false;
1553 LLVMStyle.EmptyLineAfterAccessModifier = FormatStyle::ELAAMS_Never;
1554 LLVMStyle.EmptyLineBeforeAccessModifier = FormatStyle::ELBAMS_LogicalBlock;
1555 LLVMStyle.ExperimentalAutoDetectBinPacking = false;
1556 LLVMStyle.FixNamespaceComments = true;
1557 LLVMStyle.ForEachMacros.push_back("foreach");
1558 LLVMStyle.ForEachMacros.push_back("Q_FOREACH");
1559 LLVMStyle.ForEachMacros.push_back("BOOST_FOREACH");
1560 LLVMStyle.IfMacros.push_back("KJ_IF_MAYBE");
1561 LLVMStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Preserve;
1562 LLVMStyle.IncludeStyle.IncludeCategories = {
1566 LLVMStyle.IncludeStyle.IncludeIsMainRegex = "(Test)?$";
1567 LLVMStyle.IncludeStyle.MainIncludeChar = tooling::IncludeStyle::MICD_Quote;
1568 LLVMStyle.IndentAccessModifiers = false;
1569 LLVMStyle.IndentCaseBlocks = false;
1570 LLVMStyle.IndentCaseLabels = false;
1571 LLVMStyle.IndentExportBlock = true;
1572 LLVMStyle.IndentExternBlock = FormatStyle::IEBS_AfterExternBlock;
1573 LLVMStyle.IndentGotoLabels = true;
1574 LLVMStyle.IndentPPDirectives = FormatStyle::PPDIS_None;
1575 LLVMStyle.IndentRequiresClause = true;
1576 LLVMStyle.IndentWidth = 2;
1577 LLVMStyle.IndentWrappedFunctionNames = false;
1578 LLVMStyle.InheritsParentConfig = false;
1579 LLVMStyle.InsertBraces = false;
1580 LLVMStyle.InsertNewlineAtEOF = false;
1581 LLVMStyle.InsertTrailingCommas = FormatStyle::TCS_None;
1582 LLVMStyle.IntegerLiteralSeparator = {
1586 LLVMStyle.JavaScriptQuotes = FormatStyle::JSQS_Leave;
1587 LLVMStyle.JavaScriptWrapImports = true;
1588 LLVMStyle.KeepEmptyLines = {
1593 LLVMStyle.KeepFormFeed = false;
1594 LLVMStyle.LambdaBodyIndentation = FormatStyle::LBI_Signature;
1595 LLVMStyle.Language = Language;
1596 LLVMStyle.LineEnding = FormatStyle::LE_DeriveLF;
1597 LLVMStyle.MaxEmptyLinesToKeep = 1;
1598 LLVMStyle.NamespaceIndentation = FormatStyle::NI_None;
1599 LLVMStyle.ObjCBinPackProtocolList = FormatStyle::BPS_Auto;
1600 LLVMStyle.ObjCBlockIndentWidth = 2;
1601 LLVMStyle.ObjCBreakBeforeNestedBlockParam = true;
1602 LLVMStyle.ObjCSpaceAfterProperty = false;
1603 LLVMStyle.ObjCSpaceBeforeProtocolList = true;
1604 LLVMStyle.PackConstructorInitializers = FormatStyle::PCIS_BinPack;
1605 LLVMStyle.PointerAlignment = FormatStyle::PAS_Right;
1606 LLVMStyle.PPIndentWidth = -1;
1607 LLVMStyle.QualifierAlignment = FormatStyle::QAS_Leave;
1608 LLVMStyle.ReferenceAlignment = FormatStyle::RAS_Pointer;
1609 LLVMStyle.ReflowComments = FormatStyle::RCS_Always;
1610 LLVMStyle.RemoveBracesLLVM = false;
1611 LLVMStyle.RemoveEmptyLinesInUnwrappedLines = false;
1612 LLVMStyle.RemoveParentheses = FormatStyle::RPS_Leave;
1613 LLVMStyle.RemoveSemicolon = false;
1614 LLVMStyle.RequiresClausePosition = FormatStyle::RCPS_OwnLine;
1615 LLVMStyle.RequiresExpressionIndentation = FormatStyle::REI_OuterScope;
1616 LLVMStyle.SeparateDefinitionBlocks = FormatStyle::SDS_Leave;
1617 LLVMStyle.ShortNamespaceLines = 1;
1618 LLVMStyle.SkipMacroDefinitionBody = false;
1619 LLVMStyle.SortIncludes = FormatStyle::SI_CaseSensitive;
1620 LLVMStyle.SortJavaStaticImport = FormatStyle::SJSIO_Before;
1621 LLVMStyle.SortUsingDeclarations = FormatStyle::SUD_LexicographicNumeric;
1622 LLVMStyle.SpaceAfterCStyleCast = false;
1623 LLVMStyle.SpaceAfterLogicalNot = false;
1624 LLVMStyle.SpaceAfterTemplateKeyword = true;
1625 LLVMStyle.SpaceAroundPointerQualifiers = FormatStyle::SAPQ_Default;
1626 LLVMStyle.SpaceBeforeAssignmentOperators = true;
1627 LLVMStyle.SpaceBeforeCaseColon = false;
1628 LLVMStyle.SpaceBeforeCpp11BracedList = false;
1629 LLVMStyle.SpaceBeforeCtorInitializerColon = true;
1630 LLVMStyle.SpaceBeforeInheritanceColon = true;
1631 LLVMStyle.SpaceBeforeJsonColon = false;
1632 LLVMStyle.SpaceBeforeParens = FormatStyle::SBPO_ControlStatements;
1633 LLVMStyle.SpaceBeforeParensOptions = {};
1634 LLVMStyle.SpaceBeforeParensOptions.AfterControlStatements = true;
1635 LLVMStyle.SpaceBeforeParensOptions.AfterForeachMacros = true;
1636 LLVMStyle.SpaceBeforeParensOptions.AfterIfMacros = true;
1637 LLVMStyle.SpaceBeforeRangeBasedForLoopColon = true;
1638 LLVMStyle.SpaceBeforeSquareBrackets = false;
1639 LLVMStyle.SpaceInEmptyBlock = false;
1640 LLVMStyle.SpacesBeforeTrailingComments = 1;
1641 LLVMStyle.SpacesInAngles = FormatStyle::SIAS_Never;
1642 LLVMStyle.SpacesInContainerLiterals = true;
1643 LLVMStyle.SpacesInLineCommentPrefix = {/*Minimum=*/1, /*Maximum=*/-1u};
1644 LLVMStyle.SpacesInParens = FormatStyle::SIPO_Never;
1645 LLVMStyle.SpacesInSquareBrackets = false;
1646 LLVMStyle.Standard = FormatStyle::LS_Latest;
1647 LLVMStyle.StatementAttributeLikeMacros.push_back("Q_EMIT");
1648 LLVMStyle.StatementMacros.push_back("Q_UNUSED");
1649 LLVMStyle.StatementMacros.push_back("QT_REQUIRE_VERSION");
1650 LLVMStyle.TableGenBreakingDAGArgOperators = {};
1651 LLVMStyle.TableGenBreakInsideDAGArg = FormatStyle::DAS_DontBreak;
1652 LLVMStyle.TabWidth = 8;
1653 LLVMStyle.UseTab = FormatStyle::UT_Never;
1654 LLVMStyle.VerilogBreakBetweenInstancePorts = true;
1655 LLVMStyle.WhitespaceSensitiveMacros.push_back("BOOST_PP_STRINGIZE");
1656 LLVMStyle.WhitespaceSensitiveMacros.push_back("CF_SWIFT_NAME");
1657 LLVMStyle.WhitespaceSensitiveMacros.push_back("NS_SWIFT_NAME");
1658 LLVMStyle.WhitespaceSensitiveMacros.push_back("PP_STRINGIZE");
1659 LLVMStyle.WhitespaceSensitiveMacros.push_back("STRINGIZE");
1660 LLVMStyle.WrapNamespaceBodyWithEmptyLines = FormatStyle::WNBWELS_Leave;
1662 LLVMStyle.PenaltyBreakAssignment = prec::Assignment;
1663 LLVMStyle.PenaltyBreakBeforeFirstCallParameter = 19;
1664 LLVMStyle.PenaltyBreakBeforeMemberAccess = 150;
1665 LLVMStyle.PenaltyBreakComment = 300;
1666 LLVMStyle.PenaltyBreakFirstLessLess = 120;
1667 LLVMStyle.PenaltyBreakOpenParenthesis = 0;
1668 LLVMStyle.PenaltyBreakScopeResolution = 500;
1669 LLVMStyle.PenaltyBreakString = 1000;
1670 LLVMStyle.PenaltyBreakTemplateDeclaration = prec::Relational;
1671 LLVMStyle.PenaltyExcessCharacter = 1'000'000;
1672 LLVMStyle.PenaltyIndentedWhitespace = 0;
1673 LLVMStyle.PenaltyReturnTypeOnItsOwnLine = 60;
1678 LLVMStyle.SpacesInContainerLiterals = false;
1681 LLVMStyle.ColumnLimit = 0;
1684 LLVMStyle.IndentCaseLabels = true;
1685 LLVMStyle.SpacesInContainerLiterals = false;
1691 return LLVMStyle;