diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-06-10 16:03:48 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-06-10 16:07:32 (GMT) |
commit | 34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3 (patch) | |
tree | f6473e93d2ad0b383d58339297e69490a187f8dd /Modules | |
parent | 487b6ccdcd7612768d920050dd0b0b67cd32775f (diff) | |
download | CMake-34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3.zip CMake-34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3.tar.gz CMake-34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3.tar.bz2 |
WCDH: Document the alignof and alignas wrapper macros.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/WriteCompilerDetectionHeader.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/WriteCompilerDetectionHeader.cmake b/Modules/WriteCompilerDetectionHeader.cmake index bf2dc37..d7992fe 100644 --- a/Modules/WriteCompilerDetectionHeader.cmake +++ b/Modules/WriteCompilerDetectionHeader.cmake @@ -146,6 +146,16 @@ # ``[[deprecated]]`` attribute or a compiler-specific decorator such # as ``__attribute__((__deprecated__))`` used by GNU compilers. # +# The ``cxx_alignas`` feature provides a macro definition +# ``<PREFIX>_ALIGNAS`` which expands to either the standard ``alignas`` +# decorator or a compiler-specific decorator such as +# ``__attribute__ ((__aligned__))`` used by GNU compilers. +# +# The ``cxx_alignof`` feature provides a macro definition +# ``<PREFIX>_ALIGNOF`` which expands to either the standard ``alignof`` +# decorator or a compiler-specific decorator such as ``__alignof__`` +# used by GNU compilers. +# # ============================= ================================ ===================== # Feature Define Symbol # ============================= ================================ ===================== |