Searched refs:parseConfiguration (Results 1 – 3 of 3) sorted by relevance
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 9649 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); in TEST_F() 9656 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); in TEST_F() 9660 EXPECT_EQ(0, parseConfiguration("Language: JavaScript\n" in TEST_F() 9667 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google\n" in TEST_F() 9674 EXPECT_EQ(0, parseConfiguration("---\n" in TEST_F() 9687 EXPECT_EQ(0, parseConfiguration(CONFIG_NAME ": true", &Style).value()); \ 9689 EXPECT_EQ(0, parseConfiguration(CONFIG_NAME ": false", &Style).value()); \ 9697 parseConfiguration(#STRUCT ":\n " CONFIG_NAME ": true", &Style) \ 9701 parseConfiguration(#STRUCT ":\n " CONFIG_NAME ": false", &Style) \ 9710 EXPECT_EQ(0, parseConfiguration(TEXT, &Style).value()); \ [all …]
|
/external/clang/include/clang/Format/ |
D | Format.h | 713 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style);
|
/external/clang/lib/Format/ |
D | Format.cpp | 700 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style) { in parseConfiguration() function 1966 if (std::error_code ec = parseConfiguration(StyleName, &Style)) { in getStyle() 2013 parseConfiguration(Text.get()->getBuffer(), &Style)) { in getStyle()
|