Home
last modified time | relevance | path

Searched refs:getPredefinedStyle (Results 1 – 3 of 3) sorted by relevance

/external/clang/unittests/Format/
DFormatTest.cpp8019 EXPECT_TRUE(getPredefinedStyle("LLVM", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8020 EXPECT_TRUE(getPredefinedStyle("lLvM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
8024 EXPECT_TRUE(getPredefinedStyle("Google", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8025 EXPECT_TRUE(getPredefinedStyle("gOOgle", FormatStyle::LK_Cpp, &Styles[2])); 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()
8036 EXPECT_TRUE(getPredefinedStyle("Chromium", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8037 EXPECT_TRUE(getPredefinedStyle("cHRoMiUM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
8041 EXPECT_TRUE(getPredefinedStyle("Mozilla", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8042 EXPECT_TRUE(getPredefinedStyle("moZILla", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
[all …]
/external/clang/include/clang/Format/
DFormat.h455 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
/external/clang/lib/Format/
DFormat.cpp140 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && in mapping()
153 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { in mapping()
462 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, in getPredefinedStyle() function
2038 if (!getPredefinedStyle(FallbackStyle, Style.Language, &Style)) { in getStyle()
2054 if (!getPredefinedStyle(StyleName, Style.Language, &Style)) in getStyle()