Skip to content

Commit

Permalink
Alphabetize some cases (NFC)
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296655 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
pogo59 committed Mar 1, 2017
1 parent 4024478 commit 1bde0ae
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/CodeGen/AsmPrinter/DwarfUnit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ int64_t DwarfUnit::getDefaultLowerBound() const {
break;

// The languages below have valid values in all DWARF versions.
case dwarf::DW_LANG_C89:
case dwarf::DW_LANG_C:
case dwarf::DW_LANG_C89:
case dwarf::DW_LANG_C_plus_plus:
return 0;

Expand All @@ -122,10 +122,10 @@ int64_t DwarfUnit::getDefaultLowerBound() const {
break;

// Starting with DWARF v4, all defined languages have valid values.
case dwarf::DW_LANG_D:
case dwarf::DW_LANG_Java:
case dwarf::DW_LANG_Python:
case dwarf::DW_LANG_UPC:
case dwarf::DW_LANG_D:
if (DD->getDwarfVersion() >= 4)
return 0;
break;
Expand All @@ -142,27 +142,27 @@ int64_t DwarfUnit::getDefaultLowerBound() const {
break;

// The languages below are new in DWARF v5.
case dwarf::DW_LANG_OpenCL:
case dwarf::DW_LANG_Go:
case dwarf::DW_LANG_Haskell:
case dwarf::DW_LANG_BLISS:
case dwarf::DW_LANG_C11:
case dwarf::DW_LANG_C_plus_plus_03:
case dwarf::DW_LANG_C_plus_plus_11:
case dwarf::DW_LANG_C_plus_plus_14:
case dwarf::DW_LANG_Dylan:
case dwarf::DW_LANG_Go:
case dwarf::DW_LANG_Haskell:
case dwarf::DW_LANG_OCaml:
case dwarf::DW_LANG_OpenCL:
case dwarf::DW_LANG_RenderScript:
case dwarf::DW_LANG_Rust:
case dwarf::DW_LANG_C11:
case dwarf::DW_LANG_Swift:
case dwarf::DW_LANG_Dylan:
case dwarf::DW_LANG_C_plus_plus_14:
case dwarf::DW_LANG_BLISS:
case dwarf::DW_LANG_RenderScript:
if (DD->getDwarfVersion() >= 5)
return 0;
break;

case dwarf::DW_LANG_Modula3:
case dwarf::DW_LANG_Julia:
case dwarf::DW_LANG_Fortran03:
case dwarf::DW_LANG_Fortran08:
case dwarf::DW_LANG_Julia:
case dwarf::DW_LANG_Modula3:
if (DD->getDwarfVersion() >= 5)
return 1;
break;
Expand Down

0 comments on commit 1bde0ae

Please sign in to comment.