Align EvalInfo in ExprConstant to avoid PointerUnion assertions
authorReid Kleckner <rnk@google.com>
Tue, 13 Dec 2016 19:48:32 +0000 (19:48 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 13 Dec 2016 19:48:32 +0000 (19:48 +0000)
commit06df402b066162ef819e65d92d0d729bb9cbf13d
treec3d7f8a86f73e8d2d092cac0e2a5defc8c15c118
parentad90369a940539e3f09acafb661b070ebfd1a559
Align EvalInfo in ExprConstant to avoid PointerUnion assertions

32-bit MSVC doesn't provide more than 4 byte stack alignment by default.
This conflicts with PointerUnion's attempt to make assertions about
alignment. This fixes the problem by explicitly asking the compiler for
8 byte alignment.

llvm-svn: 289575
clang/lib/AST/ExprConstant.cpp