Skip to content

[clang] Complete the revert of 1a14ef1 #138341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ojhunt
Copy link
Contributor

@ojhunt ojhunt commented May 2, 2025

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

When merging the fix for FEM_Indeterminate I reverted the follow
on warning fixes, but misread this diff and retained the explicitly
defaulted constructor.
@ojhunt ojhunt requested review from AaronBallman and zahiraam May 2, 2025 20:39
@ojhunt ojhunt self-assigned this May 2, 2025
@llvmbot llvmbot added clang Clang issues not falling into any other category clang:frontend Language frontend issues, e.g. anything involving "Sema" labels May 2, 2025
@ojhunt
Copy link
Contributor Author

ojhunt commented May 2, 2025

@zahiraam missed this while reverting :-O

@llvmbot
Copy link
Member

llvmbot commented May 2, 2025

@llvm/pr-subscribers-clang

Author: Oliver Hunt (ojhunt)

Changes

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


Full diff: https://github.com/llvm/llvm-project/pull/138341.diff

1 Files Affected:

  • (modified) clang/include/clang/Basic/LangOptions.h (-2)
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 };
 

Copy link
Contributor

@zahiraam zahiraam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks.

@ojhunt ojhunt merged commit a9ce60e into llvm:main May 2, 2025
9 of 12 checks passed
@ojhunt ojhunt deleted the users/ojhunt/complete-revert-of-1a14ef1 branch May 2, 2025 20:50
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
When merging the fix for FEM_Indeterminate I reverted the follow on
warning fixes, but misread this diff and retained the explicitly
defaulted constructor.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
When merging the fix for FEM_Indeterminate I reverted the follow on
warning fixes, but misread this diff and retained the explicitly
defaulted constructor.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
When merging the fix for FEM_Indeterminate I reverted the follow on
warning fixes, but misread this diff and retained the explicitly
defaulted constructor.
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
When merging the fix for FEM_Indeterminate I reverted the follow on
warning fixes, but misread this diff and retained the explicitly
defaulted constructor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:frontend Language frontend issues, e.g. anything involving "Sema" clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants