[cfe-commits] r145859 - in /cfe/trunk: include/clang-c/Index.h tools/c-index-test/c-index-test.c tools/libclang/IndexingContext.cpp

Douglas Gregor dgregor at apple.com
Mon Dec 5 14:21:41 PST 2011


On Dec 5, 2011, at 2:05 PM, Argyrios Kyrtzidis wrote:

> Author: akirtzidis
> Date: Mon Dec  5 16:05:28 2011
> New Revision: 145859
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=145859&view=rev
> Log:
> [libclang] When indexing a field in a C++ class, return an entity
> of kind CXIdxEntity_CXXInstanceVariable. rdar://10522503.

Why not just tweak clang_getCursorLanguage to return CXLanguage_CPlusPlus for fields of non-POD classes?

	- Doug



More information about the cfe-commits mailing list