summaryrefslogtreecommitdiff
path: root/Modules/WriteCompilerDetectionHeader.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-06-10 18:03:48 +0200
committerStephen Kelly <steveire@gmail.com>2014-06-10 18:07:32 +0200
commit34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3 (patch)
treef6473e93d2ad0b383d58339297e69490a187f8dd /Modules/WriteCompilerDetectionHeader.cmake
parent487b6ccdcd7612768d920050dd0b0b67cd32775f (diff)
downloadcmake-34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3.tar.gz
WCDH: Document the alignof and alignas wrapper macros.
Diffstat (limited to 'Modules/WriteCompilerDetectionHeader.cmake')
-rw-r--r--Modules/WriteCompilerDetectionHeader.cmake10
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
# ============================= ================================ =====================