[cfe-commits] r146762 - in /cfe/trunk: include/clang/Basic/TargetInfo.h lib/Basic/TargetInfo.cpp lib/Basic/Targets.cpp

Eli Friedman eli.friedman at gmail.com
Fri Dec 16 16:07:53 PST 2011

On Fri, Dec 16, 2011 at 2:34 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Author: nicholas
> Date: Fri Dec 16 16:34:14 2011
> New Revision: 146762
> URL: http://llvm.org/viewvc/llvm-project?rev=146762&view=rev
> Log:
> Add the value of "suitably aligned" from the C++11 standard to Basic/TargetInfo.
> This is equal to alignof(std::max_align_t) on the platform and equal to the
> alignment provided by malloc. (Platform owners please double-check your
> platform's value.)

Darwin PPC should use 16-byte alignment; same for x86-32 Linux.


More information about the cfe-commits mailing list