diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-07 10:05:35 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-07 10:05:35 +0000 |
commit | ddbe7ee885d4579b4aa6e9078cf2f725cce6cc2a (patch) | |
tree | 2e2abc5d30df86e0b004c0681300f0a21430a314 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | fba070650421bdfd2a3bd0e7a02ba5bc3af7d750 (diff) | |
download | llvm-ddbe7ee885d4579b4aa6e9078cf2f725cce6cc2a.zip llvm-ddbe7ee885d4579b4aa6e9078cf2f725cce6cc2a.tar.gz llvm-ddbe7ee885d4579b4aa6e9078cf2f725cce6cc2a.tar.bz2 |
Switch the is_integral_or_enum trait machinery to use an explicit
template argument and an *implicit* conversion from '0' to a null
pointer. For some bizarre reason, GCC 4.3.2 thinks that the cast to
'(T*)' is invalid inside of an enumerator's value... which it isn't but
whatever. ;] This pattern is used elsewhere in the type_traits header
and so hopefully will survive the wrath of the build bots.
llvm-svn: 152220
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions