]> granicus.if.org Git - clang/commit
add a new "getPreferredTypeAlign" method to return the preferred alignment
authorChris Lattner <sabre@nondot.org>
Tue, 27 Jan 2009 18:08:34 +0000 (18:08 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Jan 2009 18:08:34 +0000 (18:08 +0000)
commit34ebde404dc17d89487b07e6daaf1b47d5dfee39
tree22d6ba8575374c17d600a151846a5cc6ada81551
parent12444a24419fe88b42a16b46106db3c11ac5cd35
add a new "getPreferredTypeAlign" method to return the preferred alignment
of a type.  The implementation is currently something of a hack, but is
sufficient for now and allows clients to be built on it.

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