-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc++][C++03] Use
__cxx03/
headers in C++03 mode
- Loading branch information
1 parent
e888ef3
commit 4d02649
Showing
131 changed files
with
7,329 additions
and
6,563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
set(LIBCXX_TEST_PARAMS "std=c++03;test-main-headers=True" CACHE STRING "") | ||
set(LIBCXXABI_TEST_PARAMS "${LIBCXX_TEST_PARAMS}" CACHE STRING "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef _LIBCPP___CONFIGURATION_CXX03_H | ||
#define _LIBCPP___CONFIGURATION_CXX03_H | ||
|
||
#ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER | ||
# pragma GCC system_header | ||
#endif | ||
|
||
// NOLINTNEXTLINE(libcpp-cpp-version-check) | ||
# if __cplusplus < 201103L | ||
# define _LIBCPP_CXX03_LANG | ||
# endif | ||
|
||
#endif // _LIBCPP___CONFIGURATION_CXX03_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.