[libcxx-commits] [libcxx] [libc++] Include language.h inside __config (PR #114269)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 30 10:16:33 PDT 2024


https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/114269

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

>From 7a08b24c6ddf0f22e4647178d8c75f141e41bcbf Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Wed, 30 Oct 2024 13:15:38 -0400
Subject: [PATCH] [libc++] Include language.h inside __config

We were getting this include transitively via availability.h, but
we really should be including it explicitly.
---
 libcxx/include/__config | 1 +
 1 file changed, 1 insertion(+)

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



More information about the libcxx-commits mailing list