Add indexing of UsingDecl itself.
Also enable generation of USRs for UsingDecls, using the qualified name of the
decl.
Details
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 28493 Build 28492: arc lint + arc unit
Event Timeline
lib/Index/IndexDecl.cpp | ||
---|---|---|
589 | Any reason to add this to the middle of the function? So that the function logically reads as visitDecl(); traverseSubdecls(); processReferences(); | |
lib/Index/USRGeneration.cpp | ||
115 | We need to add a unique tag character here, e.g. namespace aliases are tagged as "@NA@", "@UD@" should be a good fit for using-decls. | |
118 | This comment does not make sense for the using-decl, ParmDecl is not a using-decl. |
LGTM, but we need to make sure the variable is used in configs without assertions, otherwise we'll break buildbots.
We don't seem to use the subkind anywhere. Let's remove it.