summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2019-11-21 14:12:10 +0300
committerTatyana Krasnukha <tatyana@synopsys.com>2019-11-21 15:03:37 +0300
commitffc4ff868fcca29080dcc90e223b582c4ccfc574 (patch)
treee5fab42760c47019ce40aeb1d195b63920fc61d5 /lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class
parent7fa976d57a1e2ab735212e5d9fc13cc38c4c81e9 (diff)
downloadbcm5719-llvm-ffc4ff868fcca29080dcc90e223b582c4ccfc574.tar.gz
bcm5719-llvm-ffc4ff868fcca29080dcc90e223b582c4ccfc574.zip
[lldb][NFC] Remove test directory completely
The test was moved to "completion-in-lambda-and-unnamed-class" by D66175. + Fix typo in the directory name.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/TestCompletionInLambdaAndUnnamedClass.py4
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/main.cpp11
2 files changed, 15 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/TestCompletionInLambdaAndUnnamedClass.py b/lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/TestCompletionInLambdaAndUnnamedClass.py
new file mode 100644
index 00000000000..57fb94b6d66
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/TestCompletionInLambdaAndUnnamedClass.py
@@ -0,0 +1,4 @@
+from lldbsuite.test import lldbinline
+from lldbsuite.test import decorators
+
+lldbinline.MakeInlineTest(__file__, globals(),)
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/main.cpp b/lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/main.cpp
new file mode 100644
index 00000000000..a3d8ab6532e
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/commands/expression/completion-in-lambda-and-unnamed-class/main.cpp
@@ -0,0 +1,11 @@
+int main() {
+ []()
+ { //%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
+ }
+ ();
+ struct {
+ void f()
+ { //%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
+ }
+ } A;
+}
OpenPOWER on IntegriCloud