Lines Matching refs:LK_Cpp
28 FormatStyle getGoogleStyle() { return getGoogleStyle(FormatStyle::LK_Cpp); } in getGoogleStyle()
75 if (Style.Language == FormatStyle::LK_Cpp) { in _verifyFormat()
129 EXPECT_EQ(FormatStyle::LK_Cpp, getLLVMStyle().Language); in TEST_F()
4918 FormatStyle style = getChromiumStyle(FormatStyle::LK_Cpp); in TEST_F()
5155 getChromiumStyle(FormatStyle::LK_Cpp)); in TEST_F()
9564 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); in TEST_F()
9717 verifyFormat("A<A<int>> a;", getChromiumStyle(FormatStyle::LK_Cpp)); in TEST_F()
10765 FormatStyle Style = getChromiumStyle(FormatStyle::LK_Cpp); in TEST_F()
12256 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Cpp); in TEST_F()
13562 getChromiumStyle(FormatStyle::LK_Cpp)); in TEST_F()
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()
19948 Styles[0] = getChromiumStyle(FormatStyle::LK_Cpp); in TEST_F()
19949 EXPECT_TRUE(getPredefinedStyle("Chromium", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
19950 EXPECT_TRUE(getPredefinedStyle("cHRoMiUM", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
19954 EXPECT_TRUE(getPredefinedStyle("Mozilla", FormatStyle::LK_Cpp, &Styles[1])); in TEST_F()
19955 EXPECT_TRUE(getPredefinedStyle("moZILla", FormatStyle::LK_Cpp, &Styles[2])); 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()
19965 EXPECT_TRUE(getPredefinedStyle("gnU", FormatStyle::LK_Cpp, &Styles[2])); in TEST_F()
19968 EXPECT_FALSE(getPredefinedStyle("qwerty", FormatStyle::LK_Cpp, &Styles[0])); in TEST_F()
20043 Style.Language = FormatStyle::LK_Cpp; in TEST_F()
20126 Style.Language = FormatStyle::LK_Cpp; in TEST_F()
20663 FormatStyle::LK_Cpp, in TEST_F()
20742 Style.Language = FormatStyle::LK_Cpp; in TEST_F()
20758 EXPECT_EQ(FormatStyle::LK_Cpp, Style.Language); in TEST_F()
20786 Style.Language = FormatStyle::LK_Cpp; in TEST_F()
20843 EXPECT_EQ(FormatStyle::LK_Cpp, Style.Language); in TEST_F()
20871 ParsedStyle.Language = FormatStyle::LK_Cpp; in TEST_F()
23304 EXPECT_EQ(FormatStyle::LK_Cpp, guessLanguage("foo.cc", "")); in TEST_F()
23307 EXPECT_EQ(FormatStyle::LK_Cpp, guessLanguage("foo.h", "")); in TEST_F()
23316 EXPECT_EQ(FormatStyle::LK_Cpp, guessLanguage("foo", "")); in TEST_F()
23326 FormatStyle::LK_Cpp, in TEST_F()
23338 EXPECT_EQ(FormatStyle::LK_Cpp, guessLanguage("foo.h", "[[noreturn]];")); in TEST_F()
23341 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23344 FormatStyle::LK_Cpp, in TEST_F()
23348 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23352 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23354 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23358 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23361 FormatStyle::LK_Cpp, in TEST_F()
23364 FormatStyle::LK_Cpp, in TEST_F()
23367 EXPECT_EQ(FormatStyle::LK_Cpp, guessLanguage("foo.h", "[[foo::bar, ...]]")); in TEST_F()
23371 EXPECT_EQ(FormatStyle::LK_Cpp, guessLanguage("foo.h", "FOO(^);")); in TEST_F()
23372 EXPECT_EQ(FormatStyle::LK_Cpp, guessLanguage("foo.h", "FOO(^, Bar);")); in TEST_F()
23387 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23389 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23391 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23420 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23426 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23432 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23438 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23444 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23450 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23459 EXPECT_EQ(FormatStyle::LK_Cpp, in TEST_F()
23464 FormatStyle::LK_Cpp, in TEST_F()
24049 FormatStyle Style = getChromiumStyle(FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
24056 FormatStyle Style = getMicrosoftStyle(FormatStyle::LanguageKind::LK_Cpp); in TEST_F()