[llvm] r174833 - Use a 'continue' here to stop from double lexing.

Bill Wendling isanbard at gmail.com
Sun Feb 10 02:12:50 PST 2013


Author: void
Date: Sun Feb 10 04:12:50 2013
New Revision: 174833

URL: http://llvm.org/viewvc/llvm-project?rev=174833&view=rev
Log:
Use a 'continue' here to stop from double lexing.

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=174833&r1=174832&r2=174833&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Sun Feb 10 04:12:50 2013
@@ -869,7 +869,7 @@ bool LLParser::ParseFnAttributeValuePair
         return true;
 
       B.addAttribute(Attr, Val);
-      break;
+      continue;
     }
 
     // Target-independent attributes:





More information about the llvm-commits mailing list