Update clang-format
This commit is contained in:
parent
c755a885bf
commit
9f18b7f4d8
89 changed files with 11377 additions and 11546 deletions
|
|
@ -270,15 +270,15 @@ using ns1::d;
|
|||
)";
|
||||
|
||||
cpp_entity_index idx;
|
||||
auto check_declaration = [&](const cpp_using_declaration& decl, const char* target_full_name,
|
||||
unsigned no) {
|
||||
auto target = decl.target();
|
||||
REQUIRE((target.no_overloaded() == no));
|
||||
for (auto entity : target.get(idx))
|
||||
{
|
||||
REQUIRE(full_name(*entity) == target_full_name);
|
||||
}
|
||||
};
|
||||
auto check_declaration
|
||||
= [&](const cpp_using_declaration& decl, const char* target_full_name, unsigned no) {
|
||||
auto target = decl.target();
|
||||
REQUIRE((target.no_overloaded() == no));
|
||||
for (auto entity : target.get(idx))
|
||||
{
|
||||
REQUIRE(full_name(*entity) == target_full_name);
|
||||
}
|
||||
};
|
||||
|
||||
auto file = parse(idx, "cpp_using_declaration.cpp", code);
|
||||
auto count = test_visit<cpp_using_declaration>(*file, [&](const cpp_using_declaration& decl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue