[index] Add a SymbolSubKind for an ObjC unit test.

llvm-svn: 267117
This commit is contained in:
Argyrios Kyrtzidis
2016-04-22 07:21:10 +00:00
parent f2142cbca8
commit f30c8c621f
4 changed files with 75 additions and 3 deletions

View File

@@ -169,8 +169,9 @@ static bool printSourceSymbols(ArrayRef<const char *> Args) {
static void printSymbolInfo(SymbolInfo SymInfo, raw_ostream &OS) {
OS << getSymbolKindString(SymInfo.Kind);
if (SymInfo.SubKinds) {
OS << '-';
OS << '(';
printSymbolSubKinds(SymInfo.SubKinds, OS);
OS << ')';
}
OS << '/' << getSymbolLanguageString(SymInfo.Lang);
}