Files
clang-p2996/lldb/test/API/tools/lldb-dap/completions/main.cpp
Jonas Devlieghere 01263c6c6f [lldb] Rename lldb-vscode to lldb-dap (#69264)
Rename lldb-vscode to lldb-dap. This change is largely mechanical. The
following substitutions cover the majority of the changes in this
commit:

  s/VSCODE/DAP/
  s/VSCode/DAP/
  s/vscode/dap/
  s/g_vsc/g_dap/

Discourse RFC:
https://discourse.llvm.org/t/rfc-rename-lldb-vscode-to-lldb-dap/74075/
2023-10-19 09:48:54 -07:00

35 lines
522 B
C++

#include <string>
#include <vector>
struct bar {
int var1;
};
struct foo {
int var1;
bar *my_bar_pointer;
bar my_bar_object;
foo *next_foo;
};
struct baz {
char c;
};
int fun(std::vector<baz> var) {
return var.size(); // breakpoint 1
}
int main(int argc, char const *argv[]) {
int var1 = 0;
int var2 = 1;
std::string str1 = "a";
std::string str2 = "b";
std::vector<baz> vec;
fun(vec);
bar bar1 = {2};
bar *bar2 = &bar1;
foo foo1 = {3, &bar1, bar1, NULL};
return 0; // breakpoint 2
}