diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-06-10 18:03:48 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-06-10 18:07:32 +0200 |
commit | 34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3 (patch) | |
tree | f6473e93d2ad0b383d58339297e69490a187f8dd /Modules/WriteCompilerDetectionHeader.cmake | |
parent | 487b6ccdcd7612768d920050dd0b0b67cd32775f (diff) | |
download | cmake-34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3.tar.gz |
WCDH: Document the alignof and alignas wrapper macros.
Diffstat (limited to 'Modules/WriteCompilerDetectionHeader.cmake')
-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 bf2dc37104..d7992fe3e0 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 # ============================= ================================ ===================== |