Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Sema] Warn when alignof is used with __builtin_alloca_with_align | David Majnemer | 2016-10-31 | 1 | -0/+4 |
| | | | | | | | The second argument to __builtin_alloca_with_align is supposed to be in bits, not bytes. Using alignof there would be indicative of a bug. llvm-svn: 285609 | ||||
* | Add support for __builtin_alloca_with_align | David Majnemer | 2016-10-31 | 1 | -0/+29 |
__builtin_alloca always uses __BIGGEST_ALIGNMENT__ for the alignment of the allocation. __builtin_alloca_with_align allows the programmer to specify the alignment of the allocation. This fixes PR30658. llvm-svn: 285544 |