]> granicus.if.org Git - clang/commit
Fix PR3386 by handling GCC's rules for alignof, which are substantially
authorChris Lattner <sabre@nondot.org>
Sat, 24 Jan 2009 20:17:12 +0000 (20:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 24 Jan 2009 20:17:12 +0000 (20:17 +0000)
commit31e21e05623ce9d11b1a893fecb87ad349df6c7d
tree1633aec9919349830dc725d8963813e1f0966e61
parent694b1e4425d930c471350b10cf22a93124a698bd
Fix PR3386 by handling GCC's rules for alignof, which are substantially
different than those for sizeof.  Reject alignof(bitfield) like gcc does.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62928 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
test/Sema/exprs.c