Skip to content

Commit f83e1c1

Browse files
author
git apple-llvm automerger
committed
Merge commit '85bbf8c88761' from llvm.org/main into next
2 parents 9c01224 + 85bbf8c commit f83e1c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/tools/lldb-dap/DAP.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,8 +1194,7 @@ bool SendEventRequestHandler::DoExecute(lldb::SBDebugger debugger,
11941194
"exited", "initialize", "loadedSource",
11951195
"module", "process", "stopped",
11961196
"terminated", "thread"};
1197-
if (std::find(internal_events.begin(), internal_events.end(), name) !=
1198-
std::end(internal_events)) {
1197+
if (llvm::is_contained(internal_events, name)) {
11991198
std::string msg =
12001199
llvm::formatv("Invalid use of lldb-dap send-event, event \"{0}\" "
12011200
"should be handled by lldb-dap internally.",

0 commit comments

Comments
 (0)