forked from OSchip/llvm-project
[C++11] Update LLD documentation to just refer to the LLVM documentation
for C++11 issues. llvm-svn: 202623
This commit is contained in:
parent
d9ff35f6ed
commit
03b4e3a8cb
|
@ -1,35 +1,8 @@
|
|||
C++11
|
||||
=====
|
||||
|
||||
lld is developed in a limited subset of C++11. Supported compilers are:
|
||||
Originally, LLD was developed in C++ unlike the rest of LLVM. Now, all of LLVM,
|
||||
LLD, and Clang are developed using C++11. See the `LLVM Coding Standards`_ for
|
||||
details on the precise subset of C++11 supported by the various host compilers.
|
||||
|
||||
* Clang 3.1+
|
||||
* g++ 4.7+
|
||||
* MSVC 2012+
|
||||
|
||||
Allowed Features
|
||||
----------------
|
||||
|
||||
Allowed features are based on what these compilers support. Features that are ok
|
||||
to omit (such as final or = delete) may be conditionally used via macros.
|
||||
|
||||
* All of the C++11 standard library, including threading and atomics
|
||||
* auto
|
||||
* constexpr via LLVM_CONSTEXPR
|
||||
* decltype
|
||||
* deleted functions via LLVM_DELETED_FUNCTION
|
||||
* Forward enum declarations
|
||||
* Lambdas
|
||||
* Local and unnamed types as template args
|
||||
* Trailing return type
|
||||
* nullptr
|
||||
* >> instead of > >
|
||||
* R-Value references excluding R-Value references for this
|
||||
* static_assert
|
||||
* Strongly typed enums
|
||||
* Range based for loop
|
||||
* final via LLVM_FINAL
|
||||
|
||||
Note that some of these features may not be fully or correctly implemented in
|
||||
all compilers. Issues using these features should be added here as they are
|
||||
encountered.
|
||||
.. _LLVM Coding Standards: http://llvm.org/docs/CodingStandards.html
|
||||
|
|
Loading…
Reference in New Issue