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.
You should probably use multiline string here, i.e. R(" ... ")