From 29872606d220420d53fde7cc5e3bea15f8da62e7 Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Sun, 1 Sep 2019 09:12:37 +0000 Subject: [lldb] Restructure test folders to match LLDB command hierarchy Summary: As discussed on lldb-dev, this patch moves some LLDB tests into a hierarchy that more closely resembles the commands we use in the LLDB interpreter. This patch should only move tests that use the command interpreter and shouldn't touch any tests that primarily test the SB API. Reviewers: #lldb, jfb, JDevlieghere Reviewed By: #lldb, JDevlieghere Subscribers: dexonsmith, arphaman, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D67033 llvm-svn: 370605 --- .../test/functionalities/breakpoint/cpp/main.cpp | 82 ---------------------- 1 file changed, 82 deletions(-) delete mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp deleted file mode 100644 index 4afabcbd36e..00000000000 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp +++ /dev/null @@ -1,82 +0,0 @@ -//===-- main.cpp ------------------------------------------------*- C++ -*-===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -#include -#include - -namespace a { - class c { - public: - c(); - ~c(); - void func1() - { - puts (__PRETTY_FUNCTION__); - } - void func2() - { - puts (__PRETTY_FUNCTION__); - } - void func3() - { - puts (__PRETTY_FUNCTION__); - } - }; - - c::c() {} - c::~c() {} -} - -namespace b { - class c { - public: - c(); - ~c(); - void func1() - { - puts (__PRETTY_FUNCTION__); - } - void func3() - { - puts (__PRETTY_FUNCTION__); - } - }; - - c::c() {} - c::~c() {} -} - -namespace c { - class d { - public: - d () {} - ~d() {} - void func2() - { - puts (__PRETTY_FUNCTION__); - } - void func3() - { - puts (__PRETTY_FUNCTION__); - } - }; -} - -int main (int argc, char const *argv[]) -{ - a::c ac; - b::c bc; - c::d cd; - ac.func1(); - ac.func2(); - ac.func3(); - bc.func1(); - bc.func3(); - cd.func2(); - cd.func3(); - return 0; -} -- cgit v1.2.3