================
@@ -11,13 +11,41 @@
 
//===----------------------------------------------------------------------===//
 
 #include "CIRGenFunction.h"
+#include "mlir/Dialect/OpenACC/OpenACC.h"
 #include "clang/AST/DeclOpenACC.h"
 
 using namespace clang;
 using namespace clang::CIRGen;
 
+namespace {
+struct OpenACCDeclareCleanup final : EHScopeStack::Cleanup {
----------------
andykaylor wrote:

What are the expected interactions between OpenACC and exceptions? Are 
exceptions even allowed in an OpenACC region?

I realize this is needed for normal cleanup, but it made me think about broader 
implications.

https://github.com/llvm/llvm-project/pull/168793
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to