Skip to content

Commit 1ca2c5f

Browse files
committed
[lldb] Rename SmallString::startswith to starts_with
1 parent fb74e31 commit 1ca2c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ void SwiftASTContext::AddExtraClangArgs(const std::vector<std::string> &source,
15711571
continue;
15721572
}
15731573
// Drop -Werror; it would only cause trouble in the debugger.
1574-
if (clang_argument.startswith("-Werror"))
1574+
if (clang_argument.starts_with("-Werror"))
15751575
continue;
15761576

15771577
// Drop `--`. This might be coming from the user-provided setting

0 commit comments

Comments
 (0)