commit | c0b8743f35efccc52d97288b09f59089386c83f8 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Thu Apr 17 06:17:20 2014 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Thu Apr 17 06:17:20 2014 +0000 |
tree | b11535e6e7789915f970eb407fcc00ed828e29cf | |
parent | c30a52807fea3bf25b34624365bcf92befda964a [diff] |
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