Skip to content

Commit a84622b

Browse files
committed
[lldb] Rename SmallString::startswith to starts_with
(cherry picked from commit 1ca2c5f)
1 parent acebc2d commit a84622b

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
@@ -1600,7 +1600,7 @@ void SwiftASTContext::AddExtraClangArgs(const std::vector<std::string> &source,
16001600
continue;
16011601
}
16021602
// Drop -Werror; it would only cause trouble in the debugger.
1603-
if (clang_argument.startswith("-Werror"))
1603+
if (clang_argument.starts_with("-Werror"))
16041604
continue;
16051605

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

0 commit comments

Comments
 (0)