]> granicus.if.org Git - clang/commit
fix PR5265: the size of a float3 should be rounded up to its alignment.
authorChris Lattner <sabre@nondot.org>
Thu, 22 Oct 2009 05:17:15 +0000 (05:17 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Oct 2009 05:17:15 +0000 (05:17 +0000)
commit9fcfe926432f3c3f7e9a61219e55c352fd358e45
tree8d73e05215a22a32f7ade6292a0b6d84456e18a3
parent379afec20ce8fd419551874daf3a1e683547575e
fix PR5265: the size of a float3 should be rounded up to its alignment.
This ensures that arrays of float3 are correctly padded.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84833 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/Sema/vector-init.c