aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-07 10:05:35 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-07 10:05:35 +0000
commitddbe7ee885d4579b4aa6e9078cf2f725cce6cc2a (patch)
tree2e2abc5d30df86e0b004c0681300f0a21430a314 /llvm/lib/CodeGen/MachineInstr.cpp
parentfba070650421bdfd2a3bd0e7a02ba5bc3af7d750 (diff)
downloadllvm-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