summaryrefslogtreecommitdiff
path: root/include/clang/Index
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-04-22 07:21:10 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-04-22 07:21:10 +0000
commit17e80200b6308e6f1c65e50d730314708155d7f0 (patch)
tree6040a99b47a6de622b915161fc4898b1bba13421 /include/clang/Index
parenta0cb91f335b5f60bc7b0e7e193c34e4d664368f0 (diff)
downloadclang-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 'include/clang/Index')
-rw-r--r--include/clang/Index/IndexSymbol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Index/IndexSymbol.h b/include/clang/Index/IndexSymbol.h
index 68d97d75ac..bd19771a18 100644
--- a/include/clang/Index/IndexSymbol.h
+++ b/include/clang/Index/IndexSymbol.h
@@ -63,8 +63,9 @@ enum class SymbolSubKind : uint8_t {
Generic = 1 << 0,
TemplatePartialSpecialization = 1 << 1,
TemplateSpecialization = 1 << 2,
+ UnitTest = 1 << 3,
};
-static const unsigned SymbolSubKindBitNum = 3;
+static const unsigned SymbolSubKindBitNum = 4;
typedef unsigned SymbolSubKindSet;
/// Set of roles that are attributed to symbol occurrences.