Lines Matching +defs:clang +defs:format
11 #define DEBUG_TYPE "format-test"
13 namespace clang {
14 namespace format {
24 static std::string format(StringRef Code, unsigned Offset, unsigned Length,
37 format(StringRef Code,
39 return format(Code, 0, Code.size(), Style);
413 // Ensure clang-format affects top-level snippets correctly.
424 // Ensure clang-format affects top-level snippets correctly.
435 // Ensure clang-format affects top-level snippets correctly.
446 // Ensure clang-format affects top-level snippets correctly.
646 // so check the format explicitly.
655 EXPECT_EQ(Code, format(Code, Style));
665 EXPECT_EQ(Code, format(Code, Style));
671 EXPECT_EQ(Code, format(Code, Style));
1296 // Do not format array subscript operators as attributes.
1688 EXPECT_NE("", format("int where b <")); // reduced from crasher
1715 } // namespace format
1716 } // namespace clang