[PATCH] D134813: Properly print unnamed TagDecl objects in diagnostics

Zixu Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 10:26:26 PDT 2022


zixuw added inline comments.


================
Comment at: clang/test/ExtractAPI/typedef_anonymous_record.c:74
         "interfaceLanguage": "objective-c",
-        "precise": "c:@SA at MyStruct"
+        "precise": "c:@S at MyStruct"
       },
----------------
Why is the `A` dropped here? Isn't this USR still referring to an anonymous struct (`typedef struct { } MyStruct;`)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134813/new/

https://reviews.llvm.org/D134813



More information about the cfe-commits mailing list