mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-09 11:36:08 +00:00

This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
15 lines
127 B
C++
15 lines
127 B
C++
class Foo
|
|
{
|
|
public:
|
|
int Bar(int x, int y)
|
|
{
|
|
return x + y;
|
|
}
|
|
};
|
|
|
|
int main()
|
|
{
|
|
Foo f;
|
|
f.Bar(1, 2);
|
|
}
|