]> granicus.if.org Git - llvm/commit
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)
commit0818f49f3d04ed9f7d1cf2af3f7408bad3577cd0
tree0d53da7e9ad38b0372b7bead70ed7c3383729561
parentf5acbc29d8c965f2ead0dda5f255e24c1f524ed9
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286600 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFUnit.h