diff options
Diffstat (limited to 'clang/lib/Index/IndexSymbol.cpp')
| -rw-r--r-- | clang/lib/Index/IndexSymbol.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Index/IndexSymbol.cpp b/clang/lib/Index/IndexSymbol.cpp index 419ff79a5cba..c3cbc03cf9b4 100644 --- a/clang/lib/Index/IndexSymbol.cpp +++ b/clang/lib/Index/IndexSymbol.cpp @@ -507,6 +507,9 @@ bool index::printSymbolName(const Decl *D, const LangOptions &LO, StringRef index::getSymbolKindString(SymbolKind K) { switch (K) { + // FIXME: for backwards compatibility, the include directive kind is treated + // the same as Unknown + case SymbolKind::IncludeDirective: case SymbolKind::Unknown: return "<unknown>"; case SymbolKind::Module: return "module"; case SymbolKind::Namespace: return "namespace"; |
