summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Option
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-05-01 13:04:44 +0000
committerNico Weber <nicolasweber@gmx.de>2019-05-01 13:04:44 +0000
commit4e701ab17756f7fc3461b35edde0f333ce87d1c0 (patch)
tree04224c1c6a88cb110f66b813d7da34f162abb645 /llvm/lib/Option
parentba372c6e62a3aef2d0cacc131da7dd9a0e74e89e (diff)
downloadbcm5719-llvm-4e701ab17756f7fc3461b35edde0f333ce87d1c0.tar.gz
bcm5719-llvm-4e701ab17756f7fc3461b35edde0f333ce87d1c0.zip
Wrap to 80 columns, no behavior change
llvm-svn: 359679
Diffstat (limited to 'llvm/lib/Option')
-rw-r--r--llvm/lib/Option/OptTable.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Option/OptTable.cpp b/llvm/lib/Option/OptTable.cpp
index 1585059c2fb..944de9f417e 100644
--- a/llvm/lib/Option/OptTable.cpp
+++ b/llvm/lib/Option/OptTable.cpp
@@ -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;
OpenPOWER on IntegriCloud