Go to file
Eric Fiselier 998a5c8831 Implement <filesystem>
This patch implements the <filesystem> header and uses that
to provide <experimental/filesystem>.

Unlike other standard headers, the symbols needed for <filesystem>
have not yet been placed in libc++.so. Instead they live in the
new libc++fs.a library. Users of filesystem are required to link this
library. (Also note that libc++experimental no longer contains the
definition of <experimental/filesystem>, which now requires linking libc++fs).

The reason for keeping <filesystem> out of the dylib for now is that
it's still somewhat experimental, and the possibility of requiring an
ABI breaking change is very real. In the future the symbols will likely
be moved into the dylib, or the dylib will be made to link libc++fs automagically).

Note that moving the symbols out of libc++experimental may break user builds
until they update to -lc++fs. This should be OK, because the experimental
library provides no stability guarantees. However, I plan on looking into
ways we can force libc++experimental to automagically link libc++fs.

In order to use a single implementation and set of tests for <filesystem>, it
has been placed in a special `__fs` namespace. This namespace is inline in
C++17 onward, but not before that. As such implementation is available
in C++11 onward, but no filesystem namespace is present "directly", and
as such name conflicts shouldn't occur in C++11 or C++14.

llvm-svn: 338093
2018-07-27 03:07:09 +00:00
clang added shared library to fix buildbot 2018-07-27 00:43:26 +00:00
clang-tools-extra Revert Clangd Dex Iterators patch 2018-07-26 18:25:48 +00:00
compiler-rt [test] Use printf instead of C++ iostream, NFC. 2018-07-26 18:23:40 +00:00
debuginfo-tests [DebugInfo] LowerDbgDeclare: Add derefs when handling CallInst users 2018-07-26 20:56:53 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx Implement <filesystem> 2018-07-27 03:07:09 +00:00
libcxxabi [CMake] Don't use LIBCXXABI_ENABLE_STATIC option before its declared 2018-07-25 23:13:00 +00:00
libunwind [CMake] Include CMakeDependentOption in libunwind 2018-07-24 23:42:51 +00:00
lld ELF: Make --print-icf-sections output deterministic. 2018-07-26 23:34:35 +00:00
lldb Add back lldb-framework-headers target 2018-07-26 21:55:14 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [InstCombine] canonicalize abs pattern 2018-07-27 01:49:51 +00:00
openmp PR30734: Remove __kmp_ft_page_allocate() 2018-07-26 18:15:02 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [isl] Simplify iterator implementation by building on top of list accessors 2018-07-23 15:28:50 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.