Skip to content

Commit e403622

Browse files
committed
indexer: Support Decl::Concept
Fix indexer.cc:802 "Unhandled 72" when compiling `#include <chrono>` functions with -std=c++20.
1 parent 89591ef commit e403622

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/indexer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ Kind getKind(const Decl *d, SymbolKind &kind) {
127127
case Decl::NamespaceAlias:
128128
kind = SymbolKind::Namespace;
129129
return Kind::Type;
130+
case Decl::Concept:
130131
case Decl::ObjCCategory:
131132
case Decl::ObjCCategoryImpl:
132133
case Decl::ObjCImplementation:

0 commit comments

Comments
 (0)