C++ indexer emits nodes without /kythe/node/kind facts
OpenPublic

Assigned To
zarko
Priority
Normal
Author
schroederc
Differential Revisions
Restricted Differential Revision
Subscribers
schroederc
Projects
Description

The following command displays no output because both kythe:?lang=c%2B%2B#bool%23builtin and kythe:?lang=c%2B%2B#int%23builtin are nodes without any facts (including /kythe/node/kind).

./campfire run //kythe/go/serving/tools:kythe node kythe:?lang=c%2B%2B#bool%23builtin kythe:?lang=c%2B%2B#int%23builtin

However, these nodes do have edges:

./campfire run //kythe/go/serving/tools:kythe edges --count_only kythe:?lang=c%2B%2B#bool%23builtin
./campfire run //kythe/go/serving/tools:kythe edges --count_only kythe:?lang=c%2B%2B#int%23builtin
schroederc created this task.Via WebFeb 17 2015, 11:02 AM
schroederc assigned this task to zarko.
schroederc added a project: C++.
schroederc added a subscriber: schroederc.
zarko triaged this task as "Normal" priority.Via WebFeb 17 2015, 5:43 PM

This is WAI; we should solve it by either prepopulating the database or by offering some way to ask the indexer to emit facts about builtins.

schroederc added a comment.Via WebFeb 17 2015, 6:46 PM

Why can't the indexer just emit '/kythe/node/kind' == 'tbuiltin' facts for each of those nodes?

shahms added a revision: Restricted Differential Revision.Via WebApr 20 2016, 8:38 AM
schroederc changed the visibility of this Maniphest Task from "All Users" to "Public (No Login Required)".Via WebMay 16 2016, 3:29 PM

Add Comment