Removed cppast dependency

This commit is contained in:
Bartek Kryza
2022-08-03 22:12:08 +02:00
parent 5917d341e2
commit 487e5d435b
46 changed files with 167 additions and 1230 deletions

View File

@@ -14,7 +14,6 @@ file(GLOB_RECURSE TEST_CONFIG_YMLS test_config_data/*.yml)
set(CLANG_UML_TEST_LIBRARIES
clang-umllib
cppast
${YAML_CPP_LIBRARIES}
${LIBTOOLING_LIBS}
${LIBCLANG_LIBRARIES}

View File

@@ -2,7 +2,7 @@
#include "lib1/lib1.h"
#include <cppast/cpp_preprocessor.hpp>
#include <clang/Lex/Lexer.h>
#include <string>

View File

@@ -41,7 +41,7 @@ TEST_CASE("t40001", "[test-case][package]")
REQUIRE_THAT(puml, IsFile("t40001_include1.h"));
REQUIRE_THAT(puml, IsFile("string"));
REQUIRE_THAT(puml, IsFile("cppast/cpp_preprocessor.hpp"));
REQUIRE_THAT(puml, IsFile("clang/Lex/Lexer.h"));
REQUIRE_THAT(puml, IsAssociation(_A("t40001.cc"), _A("t40001_include1.h")));
REQUIRE_THAT(puml, IsAssociation(_A("t40001_include1.h"), _A("lib1.h")));