llvm-project/clang/include
David Majnemer 26a1e0ef76 [Sema] Don't permit dependent alignments on non-dependent typedef-names
A dependent alignment attribute (like __attribute__((aligned(...))) or
__declspec(align(...))) on a non-dependent typedef or using declaration
poses a considerable challenge: the type is _not_ dependent, the size
_may_ be dependent if the type is used as an array type, the alignment
_is_ dependent.

It is reasonable for a compiler to be able to query the size and
alignment of a complete type.  Let's help that become an invariant.

This fixes PR22042.

Differential Revision: http://reviews.llvm.org/D8693

llvm-svn: 234280
2015-04-07 02:37:09 +00:00
..
clang [Sema] Don't permit dependent alignments on non-dependent typedef-names 2015-04-07 02:37:09 +00:00
clang-c This reverts commit r227432, r227438 and r227448. 2015-01-29 17:22:53 +00:00
CMakeLists.txt
Makefile