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