================
@@ -635,6 +629,13 @@ void CodeGenFunction::EmitCXXTryStmt(const CXXTryStmt &S) {
ExitCXXTryStmt(S);
}
+struct TerminateTryScope final : EHScopeStack::Cleanup {
+ TerminateTryScope() {}
+
+ // this is a noop scope that triggers the scope end emission in CGCleanup
----------------
rnk wrote:
```suggestion
// This is a noop scope that triggers the scope end emission in CGCleanup.
```
https://github.com/llvm/llvm-project/pull/167176
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits