diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-17 06:17:20 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-17 06:17:20 +0000 |
commit | c0b8743f35efccc52d97288b09f59089386c83f8 (patch) | |
tree | b11535e6e7789915f970eb407fcc00ed828e29cf /tools | |
parent | c30a52807fea3bf25b34624365bcf92befda964a (diff) | |
download | llvm-c0b8743f35efccc52d97288b09f59089386c83f8.tar.gz llvm-c0b8743f35efccc52d97288b09f59089386c83f8.tar.bz2 llvm-c0b8743f35efccc52d97288b09f59089386c83f8.tar.xz |
MC: rework static_assert to be MSVC compatible
Visual Studio does not permit referencing a structure member as a static field
for sizeof calculations. Resort to a pointer cast which is compatible across
Visual Studio and other compilers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions