Fixed formatting

This commit is contained in:
Bartek Kryza
2023-03-30 22:34:46 +02:00
parent d9204414d9
commit b35b840b66
3 changed files with 4 additions and 6 deletions

View File

@@ -995,8 +995,8 @@ bool translation_unit_visitor::process_template_parameters(
auto ct = template_parameter::make_non_type_template(
template_nontype_parameter->getType().getAsString(),
template_nontype_parameter->getNameAsString(),
default_arg, template_nontype_parameter->isParameterPack());
template_nontype_parameter->getNameAsString(), default_arg,
template_nontype_parameter->isParameterPack());
c.add_template(std::move(ct));
}

View File

@@ -132,8 +132,7 @@ struct relationship_hint_t {
using relationship_hints_t = std::map<std::string, relationship_hint_t>;
using type_aliases_t =
std::map<std::string, std::string>;
using type_aliases_t = std::map<std::string, std::string>;
using type_aliases_longer_first_t =
std::map<std::string, std::string, std::greater<std::string>>;

View File

@@ -65,8 +65,7 @@ TEST_CASE("t00008", "[test-case][class]")
using namespace json;
#if LLVM_VERSION_MAJOR >= 16
REQUIRE(IsClassTemplate(
j, "A<T,P=T,CMP=nullptr,int N=3>"));
REQUIRE(IsClassTemplate(j, "A<T,P=T,CMP=nullptr,int N=3>"));
#else
REQUIRE(IsClassTemplate(
j, "A<T,P=T,clanguml::t00008::CMP=nullptr,int N=3>"));