diff options
Diffstat (limited to 'docs/LanguageExtensions.rst')
-rw-r--r-- | docs/LanguageExtensions.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index 035b50d..bd5992e 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -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 ================================ |