================ @@ -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"); ---------------- owenca wrote:
Do you need the trailing newlines? There are dozens of them in this file. Please remove them if they are not needed. 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