[SourceKit] Add a new query to collect all group names from a module.

Input:
  Request Id: 'source.request.module.groups'
  Required field: 'key.modulename'

Output:
  Array of group names in that module, if any.
This commit is contained in:
Xi Ge
2016-02-08 17:02:36 -08:00
parent b0f94ed4b7
commit 329345077b
16 changed files with 163 additions and 1 deletions

View File

@@ -140,6 +140,8 @@ public:
Optional<StringRef> getGroupNameForDecl(const Decl *D) const override;
void collectAllGroups(std::vector<StringRef> &Names) const override;
virtual void getTopLevelDecls(SmallVectorImpl<Decl*> &results) const override;
virtual void