From 34f95bcfff1bda0a43e4ff47fe8c6b7c2d1485d3 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 10 Jun 2014 18:03:48 +0200 Subject: WCDH: Document the alignof and alignas wrapper macros. --- Modules/WriteCompilerDetectionHeader.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +# ``_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 +# ``_ALIGNOF`` which expands to either the standard ``alignof`` +# decorator or a compiler-specific decorator such as ``__alignof__`` +# used by GNU compilers. +# # ============================= ================================ ===================== # Feature Define Symbol # ============================= ================================ ===================== -- cgit v0.12