diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-06-23 17:17:47 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-06-23 17:17:47 +0000 |
commit | 15ab1720c3e1b7e2c0c1ee39ca82026a5b4a01d9 (patch) | |
tree | 3edc9653f6cf4f4fd157139d515fdff5401e60f9 /llvm/lib/Support/CachePruning.cpp | |
parent | 30aaa2f3f6a2c2e6f62821c73655e36b152b93d9 (diff) | |
download | bcm5719-llvm-15ab1720c3e1b7e2c0c1ee39ca82026a5b4a01d9.tar.gz bcm5719-llvm-15ab1720c3e1b7e2c0c1ee39ca82026a5b4a01d9.zip |
Fix a misleading indentation warning.
llvm-svn: 306130
Diffstat (limited to 'llvm/lib/Support/CachePruning.cpp')
-rw-r--r-- | llvm/lib/Support/CachePruning.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/CachePruning.cpp b/llvm/lib/Support/CachePruning.cpp index 57342288e7d..60d0964f276 100644 --- a/llvm/lib/Support/CachePruning.cpp +++ b/llvm/lib/Support/CachePruning.cpp @@ -79,9 +79,9 @@ llvm::parseCachePruningPolicy(StringRef PolicyStr) { return DurationOrErr.takeError(); Policy.Expiration = *DurationOrErr; } else if (Key == "cache_size") { - if (Value.back() != '%') - return make_error<StringError>("'" + Value + "' must be a percentage", - inconvertibleErrorCode()); + if (Value.back() != '%') + return make_error<StringError>("'" + Value + "' must be a percentage", + inconvertibleErrorCode()); StringRef SizeStr = Value.drop_back(); uint64_t Size; if (SizeStr.getAsInteger(0, Size)) |