In our user case, we need to generate unique names for every tag, including anonymous structs/unions.
This adds a custom PrintingPolicy option to getFullyQualifiedName and the test case shows that different names are generated for different anonymous unions/structs.
Please choose a different variable name that doesn't clash with the PrintingPolicy type.