diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index 035b50d10824..bd5992e3d6e5 100644 --- a/clang/docs/LanguageExtensions.rst +++ b/clang/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 `_. + Checks for Type Trait Primitives ================================