Related to PR19992: when the GNU alignof-expression extension is applied to an
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Jun 2014 23:34:28 +0000 (23:34 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Jun 2014 23:34:28 +0000 (23:34 +0000)
commitf6d7030f0f99de010dbf2737dc4a58b234e0f4b6
tree3f7bc4ed694a94b1ab98985db97c46bd9dd511c0
parent377c1592f8d3c634c2ad395dbf6d5cc92ebc9458
Related to PR19992: when the GNU alignof-expression extension is applied to an
expression of array-of-unknown-bound type, don't try to complete the array
bound, and return the alignment of the element type rather than 1.

llvm-svn: 210608
clang/lib/AST/ASTContext.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/alignof.cpp