reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2168 friend std::error_code parseConfiguration(StringRef Text, FormatStyle *Style); 2223 std::error_code parseConfiguration(StringRef Text, FormatStyle *Style);
2586 if (std::error_code ec = parseConfiguration(StyleName, &Style)) 2636 parseConfiguration(Text.get()->getBuffer(), &Style)) {tools/clang/unittests/Format/FormatTest.cpp
12350 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); 12357 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value()); 12361 EXPECT_EQ(0, parseConfiguration("Language: JavaScript\n" 12368 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google\n" 12375 EXPECT_EQ(0, parseConfiguration("---\n" 12826 EXPECT_EQ(parseConfiguration("Language: JavaScript\n" 12839 EXPECT_EQ(parseConfiguration("Language: Cpp\n" 12881 EXPECT_FALSE(parseConfiguration("---\n" 12899 EXPECT_EQ(parseConfiguration("---\n" 12907 EXPECT_EQ(parseConfiguration("---\n" 12926 EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Style).value()); 12930 EXPECT_EQ(0, parseConfiguration("---\n" 12948 EXPECT_EQ(0, parseConfiguration(YAML, &ParsedStyle).value());tools/clang/unittests/Format/FormatTestRawStrings.cpp
141 EXPECT_EQ(0, parseConfiguration("---\n"