Home
last modified time | relevance | path

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

/external/clang/unittests/Format/
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()
126 getChromiumStyle(FormatStyle::LK_JavaScript)); in TEST_F()
DFormatTest.cpp8028 Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
8030 getPredefinedStyle("Google", FormatStyle::LK_JavaScript, &Styles[1])); in TEST_F()
8032 getPredefinedStyle("gOOgle", FormatStyle::LK_JavaScript, &Styles[2])); in TEST_F()
8068 Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
8070 Styles[1].Language = FormatStyle::LK_JavaScript; in TEST_F()
8074 Styles[2].Language = FormatStyle::LK_JavaScript; in TEST_F()
8080 Styles[3].Language = FormatStyle::LK_JavaScript; in TEST_F()
8086 Styles[4].Language = FormatStyle::LK_JavaScript; in TEST_F()
8246 Style.Language = FormatStyle::LK_JavaScript; in TEST_F()
8257 EXPECT_EQ(FormatStyle::LK_JavaScript, Style.Language); in TEST_F()
[all …]
/external/clang/include/clang/Format/
DFormat.h51 LK_JavaScript, enumerator
/external/clang/lib/Format/
DUnwrappedLineParser.cpp443 Style.Language == FormatStyle::LK_JavaScript && IsGoogScope(*Line); in parseChildBlock()
775 if (Style.Language == FormatStyle::LK_JavaScript && Text == "function" && in parseStructuralElement()
949 if (Style.Language == FormatStyle::LK_JavaScript && in parseBracedList()
1139 (Style.Language == FormatStyle::LK_JavaScript && in parseTryCatch()
DFormat.cpp44 IO.enumCase(Value, "JavaScript", FormatStyle::LK_JavaScript); in enumeration()
388 if (Language == FormatStyle::LK_JavaScript) { in getGoogleStyle()
1302 if (Style.Language == FormatStyle::LK_JavaScript) { in tryMergePreviousTokens()
1657 } else if (Style.Language == FormatStyle::LK_JavaScript && in readRawToken()
1669 case FormatStyle::LK_JavaScript: in getLanguageName()
2026 return FormatStyle::LK_JavaScript; in getLanguageByFileName()
DContinuationIndenter.cpp118 if (Style.Language == FormatStyle::LK_JavaScript && in canBreak()
433 bool JavaScriptFormat = Style.Language == FormatStyle::LK_JavaScript && in addTokenOnNewLine()
630 if (Style.Language == FormatStyle::LK_JavaScript) { in moveStateToNextToken()
DTokenAnnotator.cpp334 (Style.Language == FormatStyle::LK_JavaScript && in updateParameterCount()
1456 } else if (Style.Language == FormatStyle::LK_JavaScript) { in spaceRequiredBetween()
1698 if (Style.Language == FormatStyle::LK_JavaScript) { in mustBreakBefore()
/external/clang/docs/
DClangFormatStyleOptions.rst270 * ``LK_JavaScript`` (in configuration: ``JavaScript``)