Files
clang-p2996/lldb/test/API/functionalities/breakpoint/same_cu_name/common.cpp
jimingham 803f957e87 Fix a thinko in the CallSite handling code: (#114896)
I have to check for the sc list size being changed by the call-site
search, not just that it had more than one element.

Added a test for multiple CU's with the same name in a given module,
which would have caught this mistake.

We were also doing all the work to find call sites when the found decl
and specified decl's only difference was a column, but the incoming
specification hadn't specified a column (column number == 0).
2024-11-05 11:23:23 -08:00

9 lines
150 B
C++

namespace NAMESPACE {
static int g_value = 0;
void DoSomeStuff() {
// A comment here
g_value++; // The line with code
}
} // namespace NAMESPACE