Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestJS.cpp38 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) { in format()
43 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in getGoogleJSStyleWithColumns()
565 getChromiumStyle(FormatStyle::LK_JavaScript)); in TEST_F()
963 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1002 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1115 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1172 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
1279 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
2713 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
2749 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
[all …]
H A DSortImportsTestJS.cpp46 FormatStyle Style = getGoogleStyle(FormatStyle::LK_JavaScript);
H A DFormatTestSelective.cpp588 Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
H A DDefinitionBlockSeparatorTest.cpp574 FormatStyle Style = getLLVMStyle(FormatStyle::LK_JavaScript); in TEST_F()
H A DCleanupTest.cpp201 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
H A DFormatTest.cpp8453 getGoogleStyle(FormatStyle::LK_JavaScript))); in TEST_F()
19941 Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
19983 Styles[1].Language = FormatStyle::LK_JavaScript; in TEST_F()
19987 Styles[2].Language = FormatStyle::LK_JavaScript; in TEST_F()
19994 Styles[3].Language = FormatStyle::LK_JavaScript; in TEST_F()
20001 Styles[4].Language = FormatStyle::LK_JavaScript; in TEST_F()
20751 BinPackedTCS.Language = FormatStyle::LK_JavaScript; in TEST_F()
20760 Style.Language = FormatStyle::LK_JavaScript; in TEST_F()
20771 EXPECT_EQ(FormatStyle::LK_JavaScript, Style.Language); in TEST_F()
20848 Style.Language = FormatStyle::LK_JavaScript; in TEST_F()
[all …]
H A DFormatTestComments.cpp3272 FormatStyle JSStyle20 = getGoogleStyle(FormatStyle::LK_JavaScript); in TEST_F()
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h2580 LK_JavaScript, enumerator
2601 bool isJavaScript() const { return Language == LK_JavaScript; } in isJavaScript()
4283 case FormatStyle::LK_JavaScript: in getLanguageName()
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp64 IO.enumCase(Value, "JavaScript", FormatStyle::LK_JavaScript); in enumeration()
1449 } else if (Language == FormatStyle::LK_JavaScript) { in getGoogleStyle()
1542 } else if (Language == FormatStyle::LK_JavaScript) { in getChromiumStyle()
3051 if (Style.Language == FormatStyle::LanguageKind::LK_JavaScript && in sortIncludes()
3055 if (Style.Language == FormatStyle::LanguageKind::LK_JavaScript) in sortIncludes()
3231 if (Expanded.Language == FormatStyle::LK_JavaScript && isMpegTS(Code)) in reformat()
3461 return FormatStyle::LK_JavaScript; // (module) JavaScript or TypeScript. in getLanguageByFileName()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst3179 * ``LK_JavaScript`` (in configuration: ``JavaScript``)