[PATCH] D65445: [CrossTU] Handle case when no USR could be generated during Decl search.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 31 06:35:53 PDT 2019
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.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits