aboutsummaryrefslogtreecommitdiff
path: root/Driver/Targets.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-14 01:29:45 +0000
committerChris Lattner <sabre@nondot.org>2007-07-14 01:29:45 +0000
commitd2d2a11a91d7ddf468bfb70f66362d24806ed601 (patch)
tree1920f1ccb6fc00b05bbd9d884dd821601d906626 /Driver/Targets.cpp
parent8f32f7189b12f67aa4a19bc7c3855b599980eca0 (diff)
A significant refactoring of the type size stuff to also
compute type alignment. This info is needed for struct layout. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/Targets.cpp')
-rw-r--r--Driver/Targets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Driver/Targets.cpp b/Driver/Targets.cpp
index 168084dcd7..9d52a00a8b 100644
--- a/Driver/Targets.cpp
+++ b/Driver/Targets.cpp
@@ -378,6 +378,7 @@ public:
LinuxTargetInfo() {
// Note: I have no idea if this is right, just for testing.
WCharWidth = 16;
+ WCharAlign = 16;
}
virtual void getTargetDefines(std::vector<std::string> &Defines) const {