summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-doc/test_cases/record.cpp
diff options
context:
space:
mode:
authorJulie Hockett <juliehockett@google.com>2018-10-16 23:07:37 +0000
committerJulie Hockett <juliehockett@google.com>2018-10-16 23:07:37 +0000
commit229c63b02127e0168da02f0214dd4f35220499ee (patch)
tree812c3445f7d8119eb4447a9c10b3aad0fada0a7c /clang-tools-extra/test/clang-doc/test_cases/record.cpp
parent7f87ca62a27e724a99a3b1ea5933ea62f98b959f (diff)
downloadbcm5719-llvm-229c63b02127e0168da02f0214dd4f35220499ee.tar.gz
bcm5719-llvm-229c63b02127e0168da02f0214dd4f35220499ee.zip
[clang-doc] Limit integration tests
Now that the clang-doc libraries are covered by unit tests, we don't need to have extensive (and unmaintainable) integration tests. This replaces the integration test suite with a smaller one that just tests the tool itself and removes extraneous dumping logic from the tool itself. Includes tests that cover the parse->serialize->merge->generate pipeline, as well as tests for the --public, --format, --doxygen, and --output flags. Differential Revision: https://reviews.llvm.org/D53150 llvm-svn: 344655
Diffstat (limited to 'clang-tools-extra/test/clang-doc/test_cases/record.cpp')
-rw-r--r--clang-tools-extra/test/clang-doc/test_cases/record.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/clang-tools-extra/test/clang-doc/test_cases/record.cpp b/clang-tools-extra/test/clang-doc/test_cases/record.cpp
deleted file mode 100644
index d71232933c5..00000000000
--- a/clang-tools-extra/test/clang-doc/test_cases/record.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// THIS IS A GENERATED TEST. DO NOT EDIT.
-// To regenerate, see clang-doc/gen_test.py docstring.
-//
-// This test requires Linux due to system-dependent USR for the inner class.
-// REQUIRES: system-linux
-// RUN: rm -rf %t
-// RUN: mkdir %t
-// RUN: echo "" > %t/compile_flags.txt
-// RUN: cp "%s" "%t/test.cpp"
-
-void H() {
- class I {};
-}
-
-union A { int X; int Y; };
-
-enum B { X, Y };
-
-enum class Bc { A, B };
-
-struct C { int i; };
-
-class D {};
-
-class E {
-public:
- E() {}
- ~E() {}
-
-protected:
- void ProtectedMethod();
-};
-
-void E::ProtectedMethod() {}
-
-class F : virtual private D, public E {};
-
-class X {
- class Y {};
-};
-
-class G;
OpenPOWER on IntegriCloud