summaryrefslogtreecommitdiffstats
path: root/lldb/lit/tools/lldb-instr/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/tools/lldb-instr/Inputs')
-rw-r--r--lldb/lit/tools/lldb-instr/Inputs/foo.cpp26
-rw-r--r--lldb/lit/tools/lldb-instr/Inputs/foo.h19
2 files changed, 0 insertions, 45 deletions
diff --git a/lldb/lit/tools/lldb-instr/Inputs/foo.cpp b/lldb/lit/tools/lldb-instr/Inputs/foo.cpp
deleted file mode 100644
index 981b911eee2..00000000000
--- a/lldb/lit/tools/lldb-instr/Inputs/foo.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "foo.h"
-
-#define MACRO_FOO \
- { void; }
-#define MACRO_BAR(B) B
-
-Foo::Foo() {}
-void Foo::A() {}
-void Foo::B(int i) {}
-int Foo::C(int i) { return i; }
-int Foo::D(bool b) const { return 1; }
-void Foo::E() {}
-int Foo::F(int i) { return i; }
-void Foo::G(const char *fmt...) {}
-Foo Foo::H() { return Foo(); }
-void Foo::I() const { MACRO_FOO; }
-Bar Foo::J() const { return MACRO_BAR(Bar()); }
-Bar Foo::K(void *v) const { return Bar(); }
-Bar &Foo::L() const {
- Bar *b = new Bar();
- return *b;
-};
-Bar *Foo::M() const {
- Bar *b = new Bar();
- return b;
-};
diff --git a/lldb/lit/tools/lldb-instr/Inputs/foo.h b/lldb/lit/tools/lldb-instr/Inputs/foo.h
deleted file mode 100644
index fb76e046e02..00000000000
--- a/lldb/lit/tools/lldb-instr/Inputs/foo.h
+++ /dev/null
@@ -1,19 +0,0 @@
-struct Bar {};
-struct Foo {
- Foo();
- Foo(int i);
-
- void A();
- void B(int i);
- int C(int i);
- int D(bool b) const;
- static void E();
- static int F(int i);
- void G(const char *fmt...);
- static Foo H();
- void I() const;
- Bar J() const;
- Bar K(void *v) const;
- Bar &L() const;
- Bar *M() const;
-};
OpenPOWER on IntegriCloud