[llvm] r279848 - [AsmParser] Placate a -Wmisleading-indentantion warning (GCC7).

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 11:05:03 PDT 2016


Author: davide
Date: Fri Aug 26 13:05:03 2016
New Revision: 279848

URL: http://llvm.org/viewvc/llvm-project?rev=279848&view=rev
Log:
[AsmParser] Placate a -Wmisleading-indentantion warning (GCC7).

Modified:
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=279848&r1=279847&r2=279848&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Fri Aug 26 13:05:03 2016
@@ -287,7 +287,9 @@ bool LLParser::ParseTopLevelEntities() {
     case lltok::kw_attributes: if (ParseUnnamedAttrGrp()) return true; break;
     case lltok::kw_uselistorder: if (ParseUseListOrder()) return true; break;
     case lltok::kw_uselistorder_bb:
-                                 if (ParseUseListOrderBB()) return true; break;
+      if (ParseUseListOrderBB())
+        return true;
+      break;
     }
   }
 }




More information about the llvm-commits mailing list