[clang] [clang] Complete the revert of 1a14ef1 (PR #138341)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 13:40:05 PDT 2025


https://github.com/ojhunt created https://github.com/llvm/llvm-project/pull/138341

When merging the fix for FEM_Indeterminate I reverted the follow on warning fixes, but misread this diff and retained the explicitly defaulted constructor.

>From f8a05ddf95c4efa963411694f49fa235e59c3d5c Mon Sep 17 00:00:00 2001
From: Oliver Hunt <oliver at apple.com>
Date: Fri, 2 May 2025 13:30:23 -0700
Subject: [PATCH] [clang] Complete the revert of 1a14ef1

When merging the fix for FEM_Indeterminate I reverted the follow
on warning fixes, but misread this diff and retained the explicitly
defaulted constructor.
---
 clang/include/clang/Basic/LangOptions.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/clang/include/clang/Basic/LangOptions.h b/clang/include/clang/Basic/LangOptions.h
index c3b6264e62659..1bfc0d8e88556 100644
--- a/clang/include/clang/Basic/LangOptions.h
+++ b/clang/include/clang/Basic/LangOptions.h
@@ -76,8 +76,6 @@ class LangOptionsBase {
   using RoundingMode = llvm::RoundingMode;
   using CFBranchLabelSchemeKind = clang::CFBranchLabelSchemeKind;
 
-  LangOptionsBase() = default;
-
   enum GCMode { NonGC, GCOnly, HybridGC };
   enum StackProtectorMode { SSPOff, SSPOn, SSPStrong, SSPReq };
 



More information about the cfe-commits mailing list