]> granicus.if.org Git - clang/commit
Improvements to ASTContext::getDeclAlignInBytes; fixes the testcase in
authorEli Friedman <eli.friedman@gmail.com>
Sun, 22 Feb 2009 02:56:25 +0000 (02:56 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sun, 22 Feb 2009 02:56:25 +0000 (02:56 +0000)
commitdcdafb6a701aa9d81edcb088915f58933315dc05
treeaafd086be2b0aacb98968fd50441c67ff227e3f6
parent8b1527b7b9a3c5687e336f08f1e18263af0e107d
Improvements to ASTContext::getDeclAlignInBytes; fixes the testcase in
PR3254 and part of PR3433.

The isICE changes are necessary to keep the computed results
consistent with Evaluate.

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