[clang] [clang-format] Support of TableGen formatting. (PR #76059)

Hirofumi Nakamura via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 23 06:01:46 PST 2023


================
@@ -40,6 +40,13 @@ class FormatTestTableGen : public ::testing::Test {
     EXPECT_EQ(Code.str(), format(Code)) << "Expected code is not stable";
     EXPECT_EQ(Code.str(), format(test::messUp(Code)));
   }
+
+  static void verifyFormat(llvm::StringRef Code, const FormatStyle &Style) {
----------------
hnakamura5 wrote:

I have not noticed that. Thank you. I can also fix this. But now I am planing whether (and how) to split this growing pull request. A kind of refactoring may be better done after that.

https://github.com/llvm/llvm-project/pull/76059


More information about the cfe-commits mailing list