================ @@ -290,6 +290,16 @@ TEST_F(FormatTestTableGen, MultiClass) { "}\n"); } +TEST_F(FormatTestTableGen, MultiClassesWithPasteOperator) { + // This is a sensitive example for the handling of the paste operators in + // brace type calculation. + verifyFormat("multiclass MultiClass1<int i> {\n" + " def : Def#x<i>;\n" + " def : Def#y<i>;\n" + "}\n" + "multiclass MultiClass2<int i> { def : Def#x<i>; }\n"); ---------------- hnakamura5 wrote:
I come to notice that they are not required. I will make a patch for whole this file later. https://github.com/llvm/llvm-project/pull/87924 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits