Home
last modified time | relevance | path

Searched refs:BreakBeforeTernaryOperators (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h1680 bool BreakBeforeTernaryOperators; member
3884 BreakBeforeTernaryOperators == R.BreakBeforeTernaryOperators &&
/llvm-project-15.0.7/clang/lib/Format/
H A DContinuationIndenter.cpp374 (Style.BreakBeforeTernaryOperators && Current.is(TT_ConditionalExpr) && in mustBreak()
376 (!Style.BreakBeforeTernaryOperators && in mustBreak()
383 ((Style.BreakBeforeTernaryOperators && Current.is(TT_ConditionalExpr) && in mustBreak()
385 (!Style.BreakBeforeTernaryOperators && Previous.is(TT_ConditionalExpr) && in mustBreak()
770 (P->is(TT_ConditionalExpr) && Style.BreakBeforeTernaryOperators); in addTokenOnCurrentLine()
1175 if (Style.BreakBeforeTernaryOperators && CurrentState.UnindentOperator) in getNewLineColumn()
1348 if (Style.BreakBeforeTernaryOperators && Current.is(tok::question)) in moveStateToNextToken()
1350 if (!Style.BreakBeforeTernaryOperators && Current.isNot(tok::colon)) { in moveStateToNextToken()
H A DFormat.cpp714 Style.BreakBeforeTernaryOperators); in mapping()
1212 LLVMStyle.BreakBeforeTernaryOperators = true; in getLLVMStyle()
1456 GoogleStyle.BreakBeforeTernaryOperators = false; in getGoogleStyle()
1613 Style.BreakBeforeTernaryOperators = true; in getGNUStyle()
H A DWhitespaceManager.cpp883 if (Style.BreakBeforeTernaryOperators) { in alignChainedConditionals()
H A DTokenAnnotator.cpp4733 return Style.BreakBeforeTernaryOperators; in canBreakBefore()
4735 return !Style.BreakBeforeTernaryOperators; in canBreakBefore()
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTest.cpp8421 Style.BreakBeforeTernaryOperators = false; in TEST_F()
8458 Style.BreakBeforeTernaryOperators = false; in TEST_F()
14480 TabNoBreak.BreakBeforeTernaryOperators = false; in TEST_F()
20053 CHECK_PARSE_BOOL(BreakBeforeTernaryOperators); in TEST_F()
20849 Style.BreakBeforeTernaryOperators = true; in TEST_F()
20851 EXPECT_FALSE(Style.BreakBeforeTernaryOperators); in TEST_F()
20853 Style.BreakBeforeTernaryOperators = true; in TEST_F()
20862 EXPECT_FALSE(Style.BreakBeforeTernaryOperators); in TEST_F()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst2229 **BreakBeforeTernaryOperators** (``Boolean``) :versionbadge:`clang-format 3.7`