Skip to content

[libc++] Include language.h inside __config #114269

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
merged 1 commit into from
Oct 31, 2024

Conversation

ldionne
Copy link
Member

@ldionne ldionne commented Oct 30, 2024

We were getting this include transitively via availability.h, but we really should be including it explicitly.

We were getting this include transitively via availability.h, but
we really should be including it explicitly.
@ldionne ldionne marked this pull request as ready for review October 30, 2024 17:16
@ldionne ldionne requested a review from a team as a code owner October 30, 2024 17:16
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Oct 30, 2024
@llvmbot
Copy link
Member

llvmbot commented Oct 30, 2024

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

Changes

We were getting this include transitively via availability.h, but we really should be including it explicitly.


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

1 Files Affected:

  • (modified) libcxx/include/__config (+1)
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 1cf80a46686ab9..308dcc998fc1c8 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -14,6 +14,7 @@
 #include <__configuration/abi.h>
 #include <__configuration/availability.h>
 #include <__configuration/compiler.h>
+#include <__configuration/language.h>
 #include <__configuration/platform.h>
 
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER

@ldionne ldionne merged commit 61498a8 into llvm:main Oct 31, 2024
66 checks passed
@ldionne ldionne deleted the review/include-language-in-config branch October 31, 2024 15:35
smallp-o-p pushed a commit to smallp-o-p/llvm-project that referenced this pull request Nov 3, 2024
We were getting this include transitively via availability.h, but we
really should be including it explicitly.
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
We were getting this include transitively via availability.h, but we
really should be including it explicitly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants