• Home
  • Raw
  • Download

Lines Matching refs:LLVMStyle

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