================
@@ -621,17 +621,24 @@ class ASTContext : public RefCountedBase<ASTContext> {
 
 public:
   struct CXXRecordDeclRelocationInfo {
+    static CXXRecordDeclRelocationInfo NonRelocatable() {
+      return {false, false};
+    }
+
     unsigned IsRelocatable;
     unsigned IsReplaceable;
----------------
ojhunt wrote:

I did wonder, but I assumed you had Reasons(tm)

https://github.com/llvm/llvm-project/pull/143796
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to