mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix 80-column violation
Swift SVN r22551
This commit is contained in:
@@ -70,8 +70,8 @@ static bool extractFirstUnicodeScalarImpl(StringRef S, unsigned &Scalar) {
|
||||
UTF32 C;
|
||||
UTF32 *TargetStart = &C;
|
||||
|
||||
ConvertUTF8toUTF32(&SourceNext, SourceStart + S.size(), &TargetStart, TargetStart + 1,
|
||||
lenientConversion);
|
||||
ConvertUTF8toUTF32(&SourceNext, SourceStart + S.size(), &TargetStart,
|
||||
TargetStart + 1, lenientConversion);
|
||||
if (TargetStart == &C) {
|
||||
// The source string contains an ill-formed subsequence at the end.
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user