From bf559a7f3fca4630b3e3511da18ab78d65a5e7ff Mon Sep 17 00:00:00 2001 From: Ilya Biryukov Date: Wed, 29 May 2019 10:11:14 +0000 Subject: [Index] Correctly set symbol kind of IndirectFieldDecl Summary: The kind has been 'unknown' before, now it is 'field'. Reviewers: kadircet Reviewed By: kadircet Subscribers: jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62573 llvm-svn: 361941 --- clang/lib/Index/IndexSymbol.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Index/IndexSymbol.cpp') diff --git a/clang/lib/Index/IndexSymbol.cpp b/clang/lib/Index/IndexSymbol.cpp index a8f11b34486..db397b98561 100644 --- a/clang/lib/Index/IndexSymbol.cpp +++ b/clang/lib/Index/IndexSymbol.cpp @@ -168,6 +168,7 @@ SymbolInfo index::getSymbolInfo(const Decl *D) { Info.Kind = SymbolKind::Function; break; case Decl::Field: + case Decl::IndirectField: Info.Kind = SymbolKind::Field; if (const CXXRecordDecl * CXXRec = dyn_cast(D->getDeclContext())) { -- cgit v1.2.3