Skip to content

Commit 2c01683

Browse files
committed
Minor update for readability
1 parent 72183ce commit 2c01683

File tree

1 file changed

+2
-2
lines changed
  • lldb/source/Host/macosx/objcxx

1 file changed

+2
-2
lines changed

lldb/source/Host/macosx/objcxx/Host.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ DataExtractor data(arg_data.GetBytes(), arg_data_size,
624624

625625
Environment &proc_env = process_info.GetEnvironment();
626626
bool is_simulator = false;
627-
for (llvm::StringRef env_var;
628-
!(env_var = data.GetCStr(&offset)).empty();) {
627+
llvm::StringRef env_var;
628+
while (!(env_var = data.GetCStr(&offset)).empty()) {
629629
if (check_for_ios_simulator &&
630630
env_var.starts_with("SIMULATOR_UDID="))
631631
is_simulator = true;

0 commit comments

Comments
 (0)