[clang][ExtractAPI] Fix naming of typedef'd anonymous enums
authorDaniel Grumberg <dgrumberg@apple.com>
Wed, 14 Dec 2022 12:12:26 +0000 (12:12 +0000)
committerDaniel Grumberg <dgrumberg@apple.com>
Fri, 16 Dec 2022 11:01:03 +0000 (11:01 +0000)
commit8dcb629aa4ccfdd18fb700cabb45fd74fcd291c8
treed77f5ab8fd75b43c44d81cbe0f20bdbb2cb6dd29
parent7e61c68174ccf2f00bff9807310d313c287179ee
[clang][ExtractAPI] Fix naming of typedef'd anonymous enums

Anonymous enums that are typedef'd should take on the name of the typedef.

Differential Revision: https://reviews.llvm.org/D140010
clang/lib/ExtractAPI/ExtractAPIVisitor.cpp
clang/test/ExtractAPI/typedef_anonymous_record.c