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 | f30c8c621f4aa5b6b00364d0706feed227cfa047 (patch) | |
tree | eae4ad1357c50d8932a0c26c4dd3d85d457d6600 /clang/tools/c-index-test | |
parent | f2142cbca8fee48ed61e25e1f1e7f460494670c2 (diff) | |
download | bcm5719-llvm-f30c8c621f4aa5b6b00364d0706feed227cfa047.tar.gz bcm5719-llvm-f30c8c621f4aa5b6b00364d0706feed227cfa047.zip |
[index] Add a SymbolSubKind for an ObjC unit test.
llvm-svn: 267117
Diffstat (limited to 'clang/tools/c-index-test')
-rw-r--r-- | clang/tools/c-index-test/core_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/tools/c-index-test/core_main.cpp b/clang/tools/c-index-test/core_main.cpp index b19c8cbba74..d11b490e810 100644 --- a/clang/tools/c-index-test/core_main.cpp +++ b/clang/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); } |