[llvm] r373266 - Remove else-after-return

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 14:02:06 PDT 2019


Author: dblaikie
Date: Mon Sep 30 14:02:06 2019
New Revision: 373266

URL: http://llvm.org/viewvc/llvm-project?rev=373266&view=rev
Log:
Remove else-after-return

Modified:
    llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h

Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h?rev=373266&r1=373265&r2=373266&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h Mon Sep 30 14:02:06 2019
@@ -53,8 +53,7 @@ public:
       assert(AddressSize == 4 || AddressSize == 8);
       if (AddressSize == 4)
         return StartAddress == -1U;
-      else
-        return StartAddress == -1ULL;
+      return StartAddress == -1ULL;
     }
   };
 




More information about the llvm-commits mailing list