Skip to content

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