[clang] [Clang][Sema] Ensure explicitly defaulted functions respect FP pragmas from their declaration site (PR #207429)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 07:00:12 PDT 2026


================
@@ -2064,7 +2068,9 @@ class FunctionDecl : public DeclaratorDecl,
   public:
     static DefaultedOrDeletedFunctionInfo *
     Create(ASTContext &Context, ArrayRef<DeclAccessPair> Lookups,
-           StringLiteral *DeletedMessage = nullptr);
+           StringLiteral *DeletedMessage = nullptr, uint64_t FPFeatures = 0);
----------------
erichkeane wrote:

I think I would rather have us NOT have FPFeatures be a defaulted argument.  

https://github.com/llvm/llvm-project/pull/207429


More information about the cfe-commits mailing list