================ @@ -377,6 +402,8 @@ Task<int, false, false, false, false, true> h_ShouldDiag(const int a, // CHECK-MESSAGES: :[[@LINE-2]]:45: warning: an exception may be thrown in function 'h_ShouldDiag' which should not throw exceptions co_yield a / b; } +// CHECK-MESSAGES: :133:7: note: frame #0: unhandled exception may be thrown in function 'unhandled_exception' here ---------------- HerrCai0907 wrote:
Personally I do not like hard code line number in FileCheck, but I don't know how to resolve this issue. @EugeneZelenko Is there any better solution to avoid it? https://github.com/llvm/llvm-project/pull/134375 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits