Make VTs and UnicodeCharSet ctors constexpr if the compiler supports it.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Mar 2015 18:10:07 +0000 (18:10 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Mar 2015 18:10:07 +0000 (18:10 +0000)
commit8ec82e88c3bbe75d1b40b968d465f2ef64224557
tree7779d344f7e6f2ff55e33808e31a0560ad8d6d36
parent7149aabf8bf7168cadc385fbb35366f6228150bf
Make VTs and UnicodeCharSet ctors constexpr if the compiler supports it.

There are static variables of this around that we really want to go
into a read-only segment. Sadly compilers are not smart enough to figure
that out without constexpr.

llvm-svn: 230895
llvm/include/llvm/CodeGen/MachineValueType.h
llvm/include/llvm/CodeGen/ValueTypes.h
llvm/include/llvm/Support/UnicodeCharRanges.h