Skip to content

Commit bcee7f9

Browse files
committed
Avoid relying on defaults for UsePreferredNames
1 parent 81d131d commit bcee7f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cpp2rust/converter/mapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ clang::PrintingPolicy getPrintPolicy() {
4040
policy.SuppressScope = false;
4141
policy.FullyQualifiedName = true;
4242
policy.SuppressUnwrittenScope = true;
43+
policy.UsePreferredNames = true;
4344
return policy;
4445
}
4546

0 commit comments

Comments
 (0)