diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-04-22 07:21:10 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-04-22 07:21:10 +0000 |
commit | 17e80200b6308e6f1c65e50d730314708155d7f0 (patch) | |
tree | 6040a99b47a6de622b915161fc4898b1bba13421 /tools/c-index-test/core_main.cpp | |
parent | a0cb91f335b5f60bc7b0e7e193c34e4d664368f0 (diff) | |
download | clang-17e80200b6308e6f1c65e50d730314708155d7f0.tar.gz |
[index] Add a SymbolSubKind for an ObjC unit test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test/core_main.cpp')
-rw-r--r-- | tools/c-index-test/core_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/c-index-test/core_main.cpp b/tools/c-index-test/core_main.cpp index b19c8cbba7..d11b490e81 100644 --- a/tools/c-index-test/core_main.cpp +++ b/tools/c-index-test/core_main.cpp @@ -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); } |