balazske added a comment.

Probably this is a problem case too but only if the `f` or `i` has an 
initializer expression and really no USR is generated for `f` or `i`. But what 
I have found is that there is a `VarDecl` for a "invisible" variable whose type 
is the anonymous union and it has a (default) initializer too. If the search 
reaches DC of the `f` it will try to get the USR for this variable.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65445



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to