Home
last modified time | relevance | path

Searched refs:LK_JavaScript (Results 1 – 8 of 8) sorted by relevance

/minix3/external/bsd/llvm/dist/clang/unittests/Format/
H A DFormatTestJS.cpp36 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in format()
41 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in getGoogleJSStyleWithColumns()
48 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in verifyFormat()
154 getChromiumStyle(FormatStyle::LK_JavaScript)); in TEST_F()
276 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
H A DFormatTest.cpp8598 Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
8600 getPredefinedStyle("Google", FormatStyle::LK_JavaScript, &Styles[1])); in TEST_F()
8602 getPredefinedStyle("gOOgle", FormatStyle::LK_JavaScript, &Styles[2])); in TEST_F()
8638 Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
8640 Styles[1].Language = FormatStyle::LK_JavaScript; in TEST_F()
8644 Styles[2].Language = FormatStyle::LK_JavaScript; in TEST_F()
8650 Styles[3].Language = FormatStyle::LK_JavaScript; in TEST_F()
8656 Styles[4].Language = FormatStyle::LK_JavaScript; in TEST_F()
8859 Style.Language = FormatStyle::LK_JavaScript; in TEST_F()
8870 EXPECT_EQ(FormatStyle::LK_JavaScript, Style.Language); in TEST_F()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Format/
H A DFormat.cpp46 IO.enumCase(Value, "JavaScript", FormatStyle::LK_JavaScript); in enumeration()
430 } else if (Language == FormatStyle::LK_JavaScript) { in getGoogleStyle()
637 if (Style.Language == FormatStyle::LK_JavaScript) { in tryMergePreviousTokens()
1015 } else if (Style.Language == FormatStyle::LK_JavaScript && in readRawToken()
1049 case FormatStyle::LK_JavaScript: in getLanguageName()
1395 bool AlternativeOperators = Style.Language != FormatStyle::LK_JavaScript && in getFormattingLangOpts()
1419 return FormatStyle::LK_JavaScript; in getLanguageByFileName()
H A DUnwrappedLineParser.cpp456 Style.Language == FormatStyle::LK_JavaScript && IsGoogScope(*Line); in parseChildBlock()
812 if (Style.Language == FormatStyle::LK_JavaScript && Text == "function" && in parseStructuralElement()
988 if (Style.Language == FormatStyle::LK_JavaScript && in parseBracedList()
1059 if (Style.Language == FormatStyle::LK_JavaScript && in parseParens()
1193 Style.Language == FormatStyle::LK_JavaScript) && in parseTryCatch()
H A DTokenAnnotator.cpp358 (Style.Language == FormatStyle::LK_JavaScript && in updateParameterCount()
667 return Style.Language == FormatStyle::LK_JavaScript && in IsImportStatement()
950 if (Style.Language == FormatStyle::LK_JavaScript && in rParenEndsCast()
1011 if (Style.Language == FormatStyle::LK_JavaScript) in determineStarAmpUsage()
1504 } else if (Style.Language == FormatStyle::LK_JavaScript) { in splitPenalty()
1748 } else if (Style.Language == FormatStyle::LK_JavaScript) { in spaceRequiredBefore()
1892 if (Style.Language == FormatStyle::LK_JavaScript && Right.is(tok::r_brace) && in mustBreakBefore()
1910 if (Style.Language == FormatStyle::LK_JavaScript) { in mustBreakBefore()
H A DContinuationIndenter.cpp931 Style.Language == FormatStyle::LK_JavaScript) in breakProtrudingToken()
/minix3/external/bsd/llvm/dist/clang/include/clang/Format/
H A DFormat.h54 LK_JavaScript, enumerator
/minix3/external/bsd/llvm/dist/clang/docs/
H A DClangFormatStyleOptions.rst367 * ``LK_JavaScript`` (in configuration: ``JavaScript``)