Searched refs:getPredefinedStyle (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/Format/ |
| H A D | FormatTest.cpp | 19932 EXPECT_TRUE(getPredefinedStyle("LLVM", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F() 19933 EXPECT_TRUE(getPredefinedStyle("lLvM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F() 19937 EXPECT_TRUE(getPredefinedStyle("Google", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F() 19938 EXPECT_TRUE(getPredefinedStyle("gOOgle", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F() 19943 getPredefinedStyle("Google", FormatStyle::LK_JavaScript, &Styles[1])); in TEST_F() 19945 getPredefinedStyle("gOOgle", FormatStyle::LK_JavaScript, &Styles[2])); in TEST_F() 19954 EXPECT_TRUE(getPredefinedStyle("Mozilla", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F() 19959 EXPECT_TRUE(getPredefinedStyle("WebKit", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F() 19960 EXPECT_TRUE(getPredefinedStyle("wEbKit", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F() 19964 EXPECT_TRUE(getPredefinedStyle("GNU", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | Format.cpp | 604 if (getPredefinedStyle(StyleName, Style.Language, &PredefinedStyle) && in mapping() 617 if (!getPredefinedStyle(BasedOnStyle, Language, &Style)) { in mapping() 1660 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, in getPredefinedStyle() function 3534 if (!getPredefinedStyle(FallbackStyleName, Style.Language, &FallbackStyle)) in getStyle() 3583 if (!getPredefinedStyle(StyleName, Style.Language, &Style)) in getStyle()
|
| H A D | ContinuationIndenter.cpp | 193 if (!getPredefinedStyle(RawStringFormat.BasedOnStyle, in RawStringFormatStyleManager()
|
| /llvm-project-15.0.7/clang/include/clang/Format/ |
| H A D | Format.h | 4077 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
|