Home
last modified time | relevance | path

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

/external/clang/unittests/Format/
DFormatTest.cpp10039 EXPECT_TRUE(getPredefinedStyle("LLVM", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
10040 EXPECT_TRUE(getPredefinedStyle("lLvM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
10044 EXPECT_TRUE(getPredefinedStyle("Google", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
10045 EXPECT_TRUE(getPredefinedStyle("gOOgle", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
10050 getPredefinedStyle("Google", FormatStyle::LK_JavaScript, &Styles[1])); in TEST_F()
10052 getPredefinedStyle("gOOgle", FormatStyle::LK_JavaScript, &Styles[2])); in TEST_F()
10056 EXPECT_TRUE(getPredefinedStyle("Chromium", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
10057 EXPECT_TRUE(getPredefinedStyle("cHRoMiUM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
10061 EXPECT_TRUE(getPredefinedStyle("Mozilla", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
10062 EXPECT_TRUE(getPredefinedStyle("moZILla", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
[all …]
/external/llvm-project/clang/unittests/Format/
DFormatTest.cpp13981 EXPECT_TRUE(getPredefinedStyle("LLVM", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
13982 EXPECT_TRUE(getPredefinedStyle("lLvM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
13986 EXPECT_TRUE(getPredefinedStyle("Google", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
13987 EXPECT_TRUE(getPredefinedStyle("gOOgle", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
13992 getPredefinedStyle("Google", FormatStyle::LK_JavaScript, &Styles[1])); in TEST_F()
13994 getPredefinedStyle("gOOgle", FormatStyle::LK_JavaScript, &Styles[2])); in TEST_F()
13998 EXPECT_TRUE(getPredefinedStyle("Chromium", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
13999 EXPECT_TRUE(getPredefinedStyle("cHRoMiUM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
14003 EXPECT_TRUE(getPredefinedStyle("Mozilla", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
14004 EXPECT_TRUE(getPredefinedStyle("moZILla", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
[all …]
/external/clang/lib/Format/
DFormat.cpp212 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && in mapping()
225 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { in mapping()
711 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, in getPredefinedStyle() function
1702 if (!getPredefinedStyle(FallbackStyle, Style.Language, &Style)) { in getStyle()
1718 if (!getPredefinedStyle(StyleName, Style.Language, &Style)) in getStyle()
/external/clang/include/clang/Format/
DFormat.h750 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
/external/llvm-project/clang/lib/Format/
DFormat.cpp412 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && in mapping()
425 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { in mapping()
1302 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, in getPredefinedStyle() function
2856 if (!getPredefinedStyle(FallbackStyleName, Style.Language, &FallbackStyle)) in getStyle()
2868 if (!getPredefinedStyle(StyleName, Style.Language, &Style)) in getStyle()
DContinuationIndenter.cpp190 if (!getPredefinedStyle(RawStringFormat.BasedOnStyle, in RawStringFormatStyleManager()
/external/llvm-project/clang/include/clang/Format/
DFormat.h2638 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,