Searched refs:getPredefinedStyle (Results 1 – 7 of 7) sorted by relevance
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 10039 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/ |
D | FormatTest.cpp | 13981 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/ |
D | Format.cpp | 212 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/ |
D | Format.h | 750 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
|
/external/llvm-project/clang/lib/Format/ |
D | Format.cpp | 412 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()
|
D | ContinuationIndenter.cpp | 190 if (!getPredefinedStyle(RawStringFormat.BasedOnStyle, in RawStringFormatStyleManager()
|
/external/llvm-project/clang/include/clang/Format/ |
D | Format.h | 2638 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
|