[cfe-commits] r162255 - in /cfe/trunk: include/clang/AST/ExprCXX.h lib/AST/ExprCXX.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Aug 21 11:37:46 PDT 2012


On Aug 21, 2012, at 11:20 AM, Richard Smith <richard at metafoo.co.uk> wrote:

> Thanks, r162297.
> 
> Is there a reason why llvm::RoundUpToAlignment uses a divide and a multiply, rather than an and? (Is it trying to handle non-power-of-two alignments?)

It don't think so. I think everything would break if we used non-power-of-two alignments.

/jakob




More information about the cfe-commits mailing list