Fix windows buildbot where warnings are errors. We had a switch statement where all...
authorGreg Clayton <gclayton@apple.com>
Fri, 11 Nov 2016 16:55:31 +0000 (16:55 +0000)
committerGreg Clayton <gclayton@apple.com>
Fri, 11 Nov 2016 16:55:31 +0000 (16:55 +0000)
commite50b286c9e751ec08995411297b520b4d89bb596
tree24bbc56aa7e36504faaec11d7be41f99e5f3f622
parent180529892dc4e867d96cd470b09e58073b0c70b3
Fix windows buildbot where warnings are errors. We had a switch statement where all enumerations were handled, but some compilers don't recognize this. Simplify the logic so that all compilers will know a return value is returned in all cases.

llvm-svn: 286600
llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h