Document __has_feature(modules) in LanguageExtensions

Fixes PR18985

Patch by Vassil Vassilev!

llvm-svn: 231789
This commit is contained in:
Ben Langmuir 2015-03-10 14:39:26 +00:00
parent 8d7f7eda14
commit 921f2e6746
1 changed files with 8 additions and 0 deletions

View File

@ -935,6 +935,14 @@ C11 ``_Thread_local``
Use ``__has_feature(c_thread_local)`` or ``__has_extension(c_thread_local)``
to determine if support for ``_Thread_local`` variables is enabled.
Modules
-------
Use ``__has_feature(modules)`` to determine if Modules have been enabled.
For example, compiling code with ``-fmodules`` enables the use of Modules.
More information could be found `here <http://clang.llvm.org/docs/Modules.html>`_.
Checks for Type Trait Primitives
================================