This is an archive of the discontinued LLVM Phabricator instance.

[DataCollection] Allow choosing between collection categories
Needs ReviewPublic

Authored by johannes on Dec 4 2017, 5:28 AM.



This adds a list of collection categories to
ClangDataCollectorsEmitter.cpp, in an aim to eventually unify the
various AST hashing mechanisms (each one will get its own category).

In the various * files we can specify for each AST node
a way to collect data specific to a collection category. Clients can
then define COLLECT_FROM_* to collect data as defined in this category.

Event Timeline

johannes created this revision.Dec 4 2017, 5:28 AM