[SourceKit] Surface group names via cursor info query.

This commit is contained in:
Xi Ge
2016-02-05 16:16:49 -08:00
parent 33b4de7ff6
commit a25551e54d
14 changed files with 54 additions and 1 deletions

View File

@@ -670,6 +670,11 @@ public:
return None;
}
virtual Optional<StringRef>
getGroupNameForDecl(const Decl *D) const {
return None;
}
/// Returns an implementation-defined "discriminator" for \p D, which
/// distinguishes \p D from other declarations in the same module with the
/// same name.