aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2016-04-09 20:25:02 +0000
committerJF Bastien <jfb@google.com>2016-04-09 20:25:02 +0000
commit128b8e92c0395e7c23ce2777f8c8c743e7f857d7 (patch)
treea23027469beba422d281f6737d3a690a94104a81 /llvm/lib/CodeGen/MachineFunction.cpp
parent6e94b16739fac1a7ed5bb27cb56c643cb7ab01e9 (diff)
downloadllvm-128b8e92c0395e7c23ce2777f8c8c743e7f857d7.zip
llvm-128b8e92c0395e7c23ce2777f8c8c743e7f857d7.tar.gz
llvm-128b8e92c0395e7c23ce2777f8c8c743e7f857d7.tar.bz2
Fix hash_integer_value
Broken in D18938 because underlying_type only works for enums and not all stdlibs are sad when given a non-enum. Bots error out with 'only enumeration types have underlying types'. There's probably a clever enable_if-ism that I can do with underlying_type and the actual integer value, but is_integral_or_enum also accepts implicit conversion so I need to ponder my life choices a bit before committing to template magic. A quick fix for now. llvm-svn: 265880
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions