Update doc and various cleanup

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-12-23 20:00:13 +00:00
parent 59c5cb0116
commit 0de917eac4
4 changed files with 98 additions and 38 deletions

28
NOTES.TXT Normal file
View File

@@ -0,0 +1,28 @@
//===---------------------------------------------------------------------===//
// Notes relating to various libc++ tasks
//===---------------------------------------------------------------------===//
This file contains notes about various libc++ tasks and processes.
//===---------------------------------------------------------------------===//
// Post-Release TODO
//===---------------------------------------------------------------------===//
These notes contain a list of things that must be done after branching for
an LLVM release.
1. Update _LIBCPP_VERSION in `__config`
2. Update the __libcpp_version file.
3. Update the version number in `docs/conf.py`
4. Create ABI lists for the previous release under `lib/abi`
//===---------------------------------------------------------------------===//
// Adding a new header TODO
//===---------------------------------------------------------------------===//
These notes contain a list of things that must be done upon adding a new header
to libc++.
1. Add a test under `test/libcxx` that the header defines `_LIBCPP_VERSION`.
2. Update `test/libcxx/double_include.sh.cpp` to include the new header.
3. Create a submodule in `include/module.modulemap` for the new header.

View File

@@ -1,11 +0,0 @@
//===---------------------------------------------------------------------===//
// Post-Release TODO
//===---------------------------------------------------------------------===//
These notes contain a list of things that must be done after branching for
an LLVM release.
1. Update _LIBCPP_VERSION in `__config`
2. Update the __libcpp_version file.
3. Update the version number in `docs/conf.py`
4. Create ABI lists for the previous release under `lib/abi`

View File

@@ -1,10 +1,5 @@
This is meant to be a general place to list things that should be done "someday" This is meant to be a general place to list things that should be done "someday"
ABI Related Tasks
=================
* Explicitly manage and verify symbols exported from the dylib.
CXX Runtime Library Tasks CXX Runtime Library Tasks
========================= =========================
* Fix that CMake always link to /usr/lib/libc++abi.dylib on OS X. * Fix that CMake always link to /usr/lib/libc++abi.dylib on OS X.
@@ -19,7 +14,6 @@ Atomic Related Tasks
Test Suite Tasks Test Suite Tasks
================ ================
* Move all libc++ specific tests from test/std into test/libcxx.
* Improve the quality and portability of the locale test data. * Improve the quality and portability of the locale test data.
* Convert failure tests to use Clang Verify. * Convert failure tests to use Clang Verify.
@@ -29,6 +23,4 @@ Misc Tasks
* run clang-tidy on libc++ * run clang-tidy on libc++
* Document the "conditionally-supported" bits of libc++ * Document the "conditionally-supported" bits of libc++
* Look at basic_string's move assignment operator, re LWG 2063 and POCMA * Look at basic_string's move assignment operator, re LWG 2063 and POCMA
* libc++ is missing try_emplace
* Put a static_assert in std::allocator to deny const/volatile types (LWG 2447) * Put a static_assert in std::allocator to deny const/volatile types (LWG 2447)

View File

@@ -15,14 +15,18 @@
// RUN: %cxx -o %t.exe %t.first.o %t.second.o %flags %link_flags // RUN: %cxx -o %t.exe %t.first.o %t.second.o %flags %link_flags
// RUN: %run // RUN: %run
// Prevent <ext/hash_map> from generating deprecated warnings for this test. // Prevent <ext/hash_map> from generating deprecated warnings for this test.
#if defined(__DEPRECATED) #if defined(__DEPRECATED)
#undef __DEPRECATED #undef __DEPRECATED
#endif #endif
// Top level headers
#include <algorithm> #include <algorithm>
#include <any>
#include <array> #include <array>
#ifndef _LIBCPP_HAS_NO_THREADS
#include <atomic>
#endif
#include <bitset> #include <bitset>
#include <cassert> #include <cassert>
#include <ccomplex> #include <ccomplex>
@@ -51,25 +55,21 @@
#include <cstring> #include <cstring>
#include <ctgmath> #include <ctgmath>
#include <ctime> #include <ctime>
#include <ctype.h>
#include <cwchar> #include <cwchar>
#include <cwctype> #include <cwctype>
#include <deque> #include <deque>
#include <errno.h>
#include <exception> #include <exception>
#include <experimental/algorithm> #include <float.h>
#include <experimental/any>
#include <experimental/chrono>
#include <experimental/dynarray>
#include <experimental/optional>
#include <experimental/string_view>
#include <experimental/system_error>
#include <experimental/type_traits>
#include <experimental/utility>
#include <ext/hash_map>
#include <ext/hash_set>
#include <forward_list> #include <forward_list>
#include <fstream> #include <fstream>
#include <functional> #include <functional>
#ifndef _LIBCPP_HAS_NO_THREADS
#include <future>
#endif
#include <initializer_list> #include <initializer_list>
#include <inttypes.h>
#include <iomanip> #include <iomanip>
#include <ios> #include <ios>
#include <iosfwd> #include <iosfwd>
@@ -77,12 +77,19 @@
#include <istream> #include <istream>
#include <iterator> #include <iterator>
#include <limits> #include <limits>
#include <limits.h>
#include <list> #include <list>
#include <locale> #include <locale>
#include <locale.h>
#include <map> #include <map>
#include <math.h>
#include <memory> #include <memory>
#ifndef _LIBCPP_HAS_NO_THREADS
#include <mutex>
#endif
#include <new> #include <new>
#include <numeric> #include <numeric>
#include <optional>
#include <ostream> #include <ostream>
#include <queue> #include <queue>
#include <random> #include <random>
@@ -90,14 +97,28 @@
#include <regex> #include <regex>
#include <scoped_allocator> #include <scoped_allocator>
#include <set> #include <set>
#include <setjmp.h>
#ifndef _LIBCPP_HAS_NO_THREADS
#include <shared_mutex>
#endif
#include <sstream> #include <sstream>
#include <stack> #include <stack>
#include <stdbool.h>
#include <stddef.h>
#include <stdexcept> #include <stdexcept>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <streambuf> #include <streambuf>
#include <string> #include <string>
#include <string.h>
#include <string_view>
#include <strstream> #include <strstream>
#include <system_error> #include <system_error>
#include <tgmath.h> #include <tgmath.h>
#ifndef _LIBCPP_HAS_NO_THREADS
#include <thread>
#endif
#include <tuple> #include <tuple>
#include <typeindex> #include <typeindex>
#include <typeinfo> #include <typeinfo>
@@ -106,15 +127,45 @@
#include <unordered_set> #include <unordered_set>
#include <utility> #include <utility>
#include <valarray> #include <valarray>
#include <variant>
#include <vector> #include <vector>
#include <wchar.h>
#include <wctype.h>
#ifndef _LIBCPP_HAS_NO_THREADS // experimental headers
#include <atomic> #if __cplusplus >= 201103L
#include <future> #include <experimental/algorithm>
#include <mutex> #include <experimental/any>
#include <shared_mutex> #include <experimental/chrono>
#include <thread> #include <experimental/deque>
#endif #include <experimental/dynarray>
#include <experimental/filesystem>
#include <experimental/forward_list>
#include <experimental/functional>
#include <experimental/iterator>
#include <experimental/list>
#include <experimental/map>
#include <experimental/memory_resource>
#include <experimental/numeric>
#include <experimental/optional>
#include <experimental/propagate_const>
#include <experimental/ratio>
#include <experimental/regex>
#include <experimental/set>
#include <experimental/string>
#include <experimental/string_view>
#include <experimental/system_error>
#include <experimental/tuple>
#include <experimental/type_traits>
#include <experimental/unordered_map>
#include <experimental/unordered_set>
#include <experimental/utility>
#include <experimental/vector>
#endif // __cplusplus >= 201103L
// extended headers
#include <ext/hash_map>
#include <ext/hash_set>
#if defined(WITH_MAIN) #if defined(WITH_MAIN)
int main() {} int main() {}