This is split off from D79192 and exposes APIGenerator (renames to APIIndexer) for use in generating the integrations tests.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Mostly LGTM with few minor comments.
libc/utils/HdrGen/PublicAPICommand.cpp | ||
---|---|---|
185–189 | After renaming the class to APIIndexer, the write method should be decoupled from the class and given a name say writeAPIFromIndex or something. AFAICT, it only needs access to the members you have made public in this patch. | |
libc/utils/HdrGen/PublicAPICommand.h | ||
28 | These names are generic enough that they should be nested in the class. You can make them public if you want. | |
39 | At this point, it probably makes sense to call this class APIIndexer? | |
65 | Can you add comments explaining the difference between the two constructors? | |
67 | Empty line after this? |
libc/utils/HdrGen/PublicAPICommand.h | ||
---|---|---|
39 | Yeah, the primary function of this is to read the TableGen files so this name makes more sense. (: |
These names are generic enough that they should be nested in the class. You can make them public if you want.