================
@@ -512,9 +512,7 @@ class OpenMPIRBuilder {
 public:
   /// Create a new OpenMPIRBuilder operating on the given module \p M. This 
will
   /// not have an effect on \p M (see initialize)
-  OpenMPIRBuilder(Module &M)
-      : M(M), Builder(M.getContext()), OffloadInfoManager(this),
-        T(M.getTargetTriple()), IsFinalized(false) {}
+  LLVM_ABI OpenMPIRBuilder(Module &M);
----------------
rdong8 wrote:

outlined into the implementation file since this class holds 
`forward_list<CanonicalLoopInfo>` but `CanonicalLoopInfo` is forward declared, 
so the new constexpr ctor tries to construct the incomplete type.

https://godbolt.org/z/f5ejxnjYT

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

Reply via email to