forked from OSchip/llvm-project
llvm::sort(C.begin(), C.end()) -> llvm::sort(C)
The convenience wrapper in STLExtras is available since rL342102. llvm-svn: 343166
This commit is contained in:
parent
edcb29349a
commit
8b9540379e
|
@ -66,7 +66,7 @@ MagicNumbersCheck::MagicNumbersCheck(StringRef Name, ClangTidyContext *Context)
|
|||
IgnoredIntegerValues.resize(IgnoredIntegerValuesInput.size());
|
||||
llvm::transform(IgnoredIntegerValuesInput, IgnoredIntegerValues.begin(),
|
||||
[](const std::string &Value) { return std::stoll(Value); });
|
||||
llvm::sort(IgnoredIntegerValues.begin(), IgnoredIntegerValues.end());
|
||||
llvm::sort(IgnoredIntegerValues);
|
||||
|
||||
if (!IgnoreAllFloatingPointValues) {
|
||||
// Process the set of ignored floating point values.
|
||||
|
|
Loading…
Reference in New Issue