]> granicus.if.org Git - llvm/commitdiff
Wrap to 80 columns, no behavior change
authorNico Weber <nicolasweber@gmx.de>
Wed, 1 May 2019 13:04:44 +0000 (13:04 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 1 May 2019 13:04:44 +0000 (13:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359679 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Option/OptTable.cpp

index 1585059c2fbaaeec781a64e8e0a0834e995e0539..944de9f417e50dafb4e0026ab3f6a7a8c825bdd6 100644 (file)
@@ -294,7 +294,8 @@ unsigned OptTable::findNearest(StringRef Option, std::string &NearestString,
     // Consider each possible prefix for each candidate to find the most
     // appropriate one. For example, if a user asks for "--helm", suggest
     // "--help" over "-help".
-    for (int P = 0; const char *const CandidatePrefix = CandidateInfo.Prefixes[P]; P++) {
+    for (int P = 0;
+         const char *const CandidatePrefix = CandidateInfo.Prefixes[P]; P++) {
       std::string NormalizedName = (LHS + Delimiter).str();
       std::string Candidate = (CandidatePrefix + CandidateName).str();
       StringRef CandidateRef = Candidate;