From: Dmitri Gribenko Date: Thu, 15 Nov 2012 16:50:59 +0000 (+0000) Subject: FileCheck: remove useless 'continue' at the end of a 'while(){}' loop. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=65f3f32100b80366785f86c64a7ff0ee697107eb;p=oota-llvm.git FileCheck: remove useless 'continue' at the end of a 'while(){}' loop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168048 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/FileCheck/FileCheck.cpp b/utils/FileCheck/FileCheck.cpp index 6fcefd0057a..c5524656f6e 100644 --- a/utils/FileCheck/FileCheck.cpp +++ b/utils/FileCheck/FileCheck.cpp @@ -256,7 +256,6 @@ bool Pattern::ParsePattern(StringRef PatternStr, SourceMgr &SM, FixedMatchEnd = std::min(FixedMatchEnd, PatternStr.find("[[")); AddFixedStringToRegEx(PatternStr.substr(0, FixedMatchEnd), RegExStr); PatternStr = PatternStr.substr(FixedMatchEnd); - continue; } return false;