Home
last modified time | relevance | path

Searched refs:parseConfiguration (Results 1 – 3 of 3) sorted by relevance

/external/clang/unittests/Format/
DFormatTest.cpp10084 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); in TEST_F()
10091 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); in TEST_F()
10095 EXPECT_EQ(0, parseConfiguration("Language: JavaScript\n" in TEST_F()
10102 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google\n" in TEST_F()
10109 EXPECT_EQ(0, parseConfiguration("---\n" in TEST_F()
10122 EXPECT_EQ(0, parseConfiguration(CONFIG_NAME ": true", &Style).value()); \
10124 EXPECT_EQ(0, parseConfiguration(CONFIG_NAME ": false", &Style).value()); \
10132 parseConfiguration(#STRUCT ":\n " CONFIG_NAME ": true", &Style) \
10136 parseConfiguration(#STRUCT ":\n " CONFIG_NAME ": false", &Style) \
10145 EXPECT_EQ(0, parseConfiguration(TEXT, &Style).value()); \
[all …]
/external/clang/include/clang/Format/
DFormat.h760 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style);
/external/clang/lib/Format/
DFormat.cpp735 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style) { in parseConfiguration() function
1710 if (std::error_code ec = parseConfiguration(StyleName, &Style)) { in getStyle()
1763 parseConfiguration(Text.get()->getBuffer(), &Style)) { in getStyle()