Lines Matching refs:LLVMStyle

488   FormatStyle LLVMStyle;
489 LLVMStyle.Language = FormatStyle::LK_Cpp;
490 LLVMStyle.AccessModifierOffset = -2;
491 LLVMStyle.AlignEscapedNewlinesLeft = false;
492 LLVMStyle.AlignAfterOpenBracket = FormatStyle::BAS_Align;
493 LLVMStyle.AlignOperands = true;
494 LLVMStyle.AlignTrailingComments = true;
495 LLVMStyle.AlignConsecutiveAssignments = false;
496 LLVMStyle.AlignConsecutiveDeclarations = false;
497 LLVMStyle.AllowAllParametersOfDeclarationOnNextLine = true;
498 LLVMStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All;
499 LLVMStyle.AllowShortBlocksOnASingleLine = false;
500 LLVMStyle.AllowShortCaseLabelsOnASingleLine = false;
501 LLVMStyle.AllowShortIfStatementsOnASingleLine = false;
502 LLVMStyle.AllowShortLoopsOnASingleLine = false;
503 LLVMStyle.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None;
504 LLVMStyle.AlwaysBreakAfterDefinitionReturnType = FormatStyle::DRTBS_None;
505 LLVMStyle.AlwaysBreakBeforeMultilineStrings = false;
506 LLVMStyle.AlwaysBreakTemplateDeclarations = false;
507 LLVMStyle.BinPackParameters = true;
508 LLVMStyle.BinPackArguments = true;
509 LLVMStyle.BreakBeforeBinaryOperators = FormatStyle::BOS_None;
510 LLVMStyle.BreakBeforeTernaryOperators = true;
511 LLVMStyle.BreakBeforeBraces = FormatStyle::BS_Attach;
512 LLVMStyle.BraceWrapping = {false, false, false, false, false, false,
514 LLVMStyle.BreakAfterJavaFieldAnnotations = false;
515 LLVMStyle.BreakConstructorInitializersBeforeComma = false;
516 LLVMStyle.BreakStringLiterals = true;
517 LLVMStyle.ColumnLimit = 80;
518 LLVMStyle.CommentPragmas = "^ IWYU pragma:";
519 LLVMStyle.ConstructorInitializerAllOnOneLineOrOnePerLine = false;
520 LLVMStyle.ConstructorInitializerIndentWidth = 4;
521 LLVMStyle.ContinuationIndentWidth = 4;
522 LLVMStyle.Cpp11BracedListStyle = true;
523 LLVMStyle.DerivePointerAlignment = false;
524 LLVMStyle.ExperimentalAutoDetectBinPacking = false;
525 LLVMStyle.ForEachMacros.push_back("foreach");
526 LLVMStyle.ForEachMacros.push_back("Q_FOREACH");
527 LLVMStyle.ForEachMacros.push_back("BOOST_FOREACH");
528 LLVMStyle.IncludeCategories = {{"^\"(llvm|llvm-c|clang|clang-c)/", 2},
531 LLVMStyle.IncludeIsMainRegex = "$";
532 LLVMStyle.IndentCaseLabels = false;
533 LLVMStyle.IndentWrappedFunctionNames = false;
534 LLVMStyle.IndentWidth = 2;
535 LLVMStyle.JavaScriptQuotes = FormatStyle::JSQS_Leave;
536 LLVMStyle.JavaScriptWrapImports = true;
537 LLVMStyle.TabWidth = 8;
538 LLVMStyle.MaxEmptyLinesToKeep = 1;
539 LLVMStyle.KeepEmptyLinesAtTheStartOfBlocks = true;
540 LLVMStyle.NamespaceIndentation = FormatStyle::NI_None;
541 LLVMStyle.ObjCBlockIndentWidth = 2;
542 LLVMStyle.ObjCSpaceAfterProperty = false;
543 LLVMStyle.ObjCSpaceBeforeProtocolList = true;
544 LLVMStyle.PointerAlignment = FormatStyle::PAS_Right;
545 LLVMStyle.SpacesBeforeTrailingComments = 1;
546 LLVMStyle.Standard = FormatStyle::LS_Cpp11;
547 LLVMStyle.UseTab = FormatStyle::UT_Never;
548 LLVMStyle.JavaScriptQuotes = FormatStyle::JSQS_Leave;
549 LLVMStyle.ReflowComments = true;
550 LLVMStyle.SpacesInParentheses = false;
551 LLVMStyle.SpacesInSquareBrackets = false;
552 LLVMStyle.SpaceInEmptyParentheses = false;
553 LLVMStyle.SpacesInContainerLiterals = true;
554 LLVMStyle.SpacesInCStyleCastParentheses = false;
555 LLVMStyle.SpaceAfterCStyleCast = false;
556 LLVMStyle.SpaceBeforeParens = FormatStyle::SBPO_ControlStatements;
557 LLVMStyle.SpaceBeforeAssignmentOperators = true;
558 LLVMStyle.SpacesInAngles = false;
560 LLVMStyle.PenaltyBreakComment = 300;
561 LLVMStyle.PenaltyBreakFirstLessLess = 120;
562 LLVMStyle.PenaltyBreakString = 1000;
563 LLVMStyle.PenaltyExcessCharacter = 1000000;
564 LLVMStyle.PenaltyReturnTypeOnItsOwnLine = 60;
565 LLVMStyle.PenaltyBreakBeforeFirstCallParameter = 19;
567 LLVMStyle.DisableFormat = false;
568 LLVMStyle.SortIncludes = true;
570 return LLVMStyle;