Lines Matching refs:LLVMStyle

465   FormatStyle LLVMStyle;
466 LLVMStyle.Language = FormatStyle::LK_Cpp;
467 LLVMStyle.AccessModifierOffset = -2;
468 LLVMStyle.AlignEscapedNewlinesLeft = false;
469 LLVMStyle.AlignAfterOpenBracket = FormatStyle::BAS_Align;
470 LLVMStyle.AlignOperands = true;
471 LLVMStyle.AlignTrailingComments = true;
472 LLVMStyle.AlignConsecutiveAssignments = false;
473 LLVMStyle.AlignConsecutiveDeclarations = false;
474 LLVMStyle.AllowAllParametersOfDeclarationOnNextLine = true;
475 LLVMStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All;
476 LLVMStyle.AllowShortBlocksOnASingleLine = false;
477 LLVMStyle.AllowShortCaseLabelsOnASingleLine = false;
478 LLVMStyle.AllowShortIfStatementsOnASingleLine = false;
479 LLVMStyle.AllowShortLoopsOnASingleLine = false;
480 LLVMStyle.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None;
481 LLVMStyle.AlwaysBreakAfterDefinitionReturnType = FormatStyle::DRTBS_None;
482 LLVMStyle.AlwaysBreakBeforeMultilineStrings = false;
483 LLVMStyle.AlwaysBreakTemplateDeclarations = false;
484 LLVMStyle.BinPackParameters = true;
485 LLVMStyle.BinPackArguments = true;
486 LLVMStyle.BreakBeforeBinaryOperators = FormatStyle::BOS_None;
487 LLVMStyle.BreakBeforeTernaryOperators = true;
488 LLVMStyle.BreakBeforeBraces = FormatStyle::BS_Attach;
489 LLVMStyle.BraceWrapping = {false, false, false, false, false, false,
491 LLVMStyle.BreakConstructorInitializersBeforeComma = false;
492 LLVMStyle.BreakAfterJavaFieldAnnotations = false;
493 LLVMStyle.ColumnLimit = 80;
494 LLVMStyle.CommentPragmas = "^ IWYU pragma:";
495 LLVMStyle.ConstructorInitializerAllOnOneLineOrOnePerLine = false;
496 LLVMStyle.ConstructorInitializerIndentWidth = 4;
497 LLVMStyle.ContinuationIndentWidth = 4;
498 LLVMStyle.Cpp11BracedListStyle = true;
499 LLVMStyle.DerivePointerAlignment = false;
500 LLVMStyle.ExperimentalAutoDetectBinPacking = false;
501 LLVMStyle.ForEachMacros.push_back("foreach");
502 LLVMStyle.ForEachMacros.push_back("Q_FOREACH");
503 LLVMStyle.ForEachMacros.push_back("BOOST_FOREACH");
504 LLVMStyle.IncludeCategories = {{"^\"(llvm|llvm-c|clang|clang-c)/", 2},
507 LLVMStyle.IndentCaseLabels = false;
508 LLVMStyle.IndentWrappedFunctionNames = false;
509 LLVMStyle.IndentWidth = 2;
510 LLVMStyle.TabWidth = 8;
511 LLVMStyle.MaxEmptyLinesToKeep = 1;
512 LLVMStyle.KeepEmptyLinesAtTheStartOfBlocks = true;
513 LLVMStyle.NamespaceIndentation = FormatStyle::NI_None;
514 LLVMStyle.ObjCBlockIndentWidth = 2;
515 LLVMStyle.ObjCSpaceAfterProperty = false;
516 LLVMStyle.ObjCSpaceBeforeProtocolList = true;
517 LLVMStyle.PointerAlignment = FormatStyle::PAS_Right;
518 LLVMStyle.SpacesBeforeTrailingComments = 1;
519 LLVMStyle.Standard = FormatStyle::LS_Cpp11;
520 LLVMStyle.UseTab = FormatStyle::UT_Never;
521 LLVMStyle.ReflowComments = true;
522 LLVMStyle.SpacesInParentheses = false;
523 LLVMStyle.SpacesInSquareBrackets = false;
524 LLVMStyle.SpaceInEmptyParentheses = false;
525 LLVMStyle.SpacesInContainerLiterals = true;
526 LLVMStyle.SpacesInCStyleCastParentheses = false;
527 LLVMStyle.SpaceAfterCStyleCast = false;
528 LLVMStyle.SpaceBeforeParens = FormatStyle::SBPO_ControlStatements;
529 LLVMStyle.SpaceBeforeAssignmentOperators = true;
530 LLVMStyle.SpacesInAngles = false;
532 LLVMStyle.PenaltyBreakComment = 300;
533 LLVMStyle.PenaltyBreakFirstLessLess = 120;
534 LLVMStyle.PenaltyBreakString = 1000;
535 LLVMStyle.PenaltyExcessCharacter = 1000000;
536 LLVMStyle.PenaltyReturnTypeOnItsOwnLine = 60;
537 LLVMStyle.PenaltyBreakBeforeFirstCallParameter = 19;
539 LLVMStyle.DisableFormat = false;
540 LLVMStyle.SortIncludes = true;
542 return LLVMStyle;