Home
last modified time | relevance | path

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

/external/clang/unittests/Format/
DFormatTest.cpp8808 EXPECT_TRUE(getPredefinedStyle("LLVM", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8809 EXPECT_TRUE(getPredefinedStyle("lLvM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
8813 EXPECT_TRUE(getPredefinedStyle("Google", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8814 EXPECT_TRUE(getPredefinedStyle("gOOgle", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
8819 getPredefinedStyle("Google", FormatStyle::LK_JavaScript, &Styles[1])); in TEST_F()
8821 getPredefinedStyle("gOOgle", FormatStyle::LK_JavaScript, &Styles[2])); in TEST_F()
8825 EXPECT_TRUE(getPredefinedStyle("Chromium", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8826 EXPECT_TRUE(getPredefinedStyle("cHRoMiUM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
8830 EXPECT_TRUE(getPredefinedStyle("Mozilla", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
8831 EXPECT_TRUE(getPredefinedStyle("moZILla", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
[all …]
/external/clang/include/clang/Format/
DFormat.h515 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
/external/clang/lib/Format/
DFormat.cpp151 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && in mapping()
164 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { in mapping()
513 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, in getPredefinedStyle() function
1561 if (!getPredefinedStyle(FallbackStyle, Style.Language, &Style)) { in getStyle()
1577 if (!getPredefinedStyle(StyleName, Style.Language, &Style)) in getStyle()