================ @@ -2305,7 +2335,45 @@ TEST(BlockEndHints, PointerToMemberFunction) { $ptrmem[[}]] } // suppress )cpp", - ExpectedHint{" // if", "ptrmem"}); + ExpectedHint{" // if ()", "ptrmem"}); +} + +TEST(BlockEndHints, MinLineLimit) { + assertBlockEndHintsWithOpts( + R"cpp( + namespace ns { + int Var; + int func1(); + int func2(int, int); + struct S { + int Field; + int method1() const; + int method2(int, int) const; + $struct[[}]]; ---------------- HighCommander4 wrote:
this and other unused annotations can be removed https://github.com/llvm/llvm-project/pull/136106 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits