================
@@ -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 {
----------------
erichkeane wrote:

I believe the standard is pretty silent on exceptions, but most devices would 
fail exceptions.  This SHOULD interact fine with exceptions though, at least 
based on my understanding of cleanups.  It at least does get in sync with all 
the other cleanups as far as I can tell.

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