Searched refs:parseConfiguration (Results 1 – 3 of 3) sorted by relevance
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 8853 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); in TEST_F() 8860 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); in TEST_F() 8864 EXPECT_EQ(0, parseConfiguration("Language: JavaScript\n" in TEST_F() 8870 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google\n" in TEST_F() 8876 EXPECT_EQ(0, parseConfiguration("---\n" in TEST_F() 8888 EXPECT_EQ(0, parseConfiguration(CONFIG_NAME ": true", &Style).value()); \ 8890 EXPECT_EQ(0, parseConfiguration(CONFIG_NAME ": false", &Style).value()); \ 8897 EXPECT_EQ(0, parseConfiguration(TEXT, &Style).value()); \ 9070 EXPECT_EQ(parseConfiguration("Language: JavaScript\n" in TEST_F() 9083 EXPECT_EQ(parseConfiguration("Language: Cpp\n" in TEST_F() [all …]
|
/external/clang/include/clang/Format/ |
D | Format.h | 525 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style);
|
/external/clang/lib/Format/ |
D | Format.cpp | 537 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style) { in parseConfiguration() function 1569 if (std::error_code ec = parseConfiguration(StyleName, &Style)) { in getStyle() 1616 parseConfiguration(Text.get()->getBuffer(), &Style)) { in getStyle()
|