Fixed formatting
This commit is contained in:
@@ -995,8 +995,8 @@ bool translation_unit_visitor::process_template_parameters(
|
|||||||
|
|
||||||
auto ct = template_parameter::make_non_type_template(
|
auto ct = template_parameter::make_non_type_template(
|
||||||
template_nontype_parameter->getType().getAsString(),
|
template_nontype_parameter->getType().getAsString(),
|
||||||
template_nontype_parameter->getNameAsString(),
|
template_nontype_parameter->getNameAsString(), default_arg,
|
||||||
default_arg, template_nontype_parameter->isParameterPack());
|
template_nontype_parameter->isParameterPack());
|
||||||
|
|
||||||
c.add_template(std::move(ct));
|
c.add_template(std::move(ct));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,8 +132,7 @@ struct relationship_hint_t {
|
|||||||
|
|
||||||
using relationship_hints_t = std::map<std::string, relationship_hint_t>;
|
using relationship_hints_t = std::map<std::string, relationship_hint_t>;
|
||||||
|
|
||||||
using type_aliases_t =
|
using type_aliases_t = std::map<std::string, std::string>;
|
||||||
std::map<std::string, std::string>;
|
|
||||||
using type_aliases_longer_first_t =
|
using type_aliases_longer_first_t =
|
||||||
std::map<std::string, std::string, std::greater<std::string>>;
|
std::map<std::string, std::string, std::greater<std::string>>;
|
||||||
|
|
||||||
|
|||||||
@@ -65,8 +65,7 @@ TEST_CASE("t00008", "[test-case][class]")
|
|||||||
using namespace json;
|
using namespace json;
|
||||||
|
|
||||||
#if LLVM_VERSION_MAJOR >= 16
|
#if LLVM_VERSION_MAJOR >= 16
|
||||||
REQUIRE(IsClassTemplate(
|
REQUIRE(IsClassTemplate(j, "A<T,P=T,CMP=nullptr,int N=3>"));
|
||||||
j, "A<T,P=T,CMP=nullptr,int N=3>"));
|
|
||||||
#else
|
#else
|
||||||
REQUIRE(IsClassTemplate(
|
REQUIRE(IsClassTemplate(
|
||||||
j, "A<T,P=T,clanguml::t00008::CMP=nullptr,int N=3>"));
|
j, "A<T,P=T,clanguml::t00008::CMP=nullptr,int N=3>"));
|
||||||
|
|||||||
Reference in New Issue
Block a user