]> granicus.if.org Git - clang/commit
add initial support for the gcc "alignof(decl) is the alignment of the decl
authorChris Lattner <sabre@nondot.org>
Sat, 24 Jan 2009 21:53:27 +0000 (21:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 24 Jan 2009 21:53:27 +0000 (21:53 +0000)
commitaf707ab8fbb9451e8febb8d766f6c043628125c4
treefabcc17e795c47c3e68c1dc2e5d34b1b610be7a9
parentb9037594f5e02f66c4fa697d9dec2359faba1bc3
add initial support for the gcc "alignof(decl) is the alignment of the decl
not the type" semantics.  This can definitely be improved, but is better than
what we had.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62939 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/AST/ExprConstant.cpp