"SkipFunctionBodies" causes isCursorDefinition == false for function definitions

When I pass CXTranslationUnit_SkipFunctionBodies to
clang_parseTranslationUnit, clang_isCursorDefinition returns false for
function definitions.

Is this a bug? It certainly is inconvenient when using libclang for
ctags-style indexing.

If it's a bug I'll work on submitting a test case.

Thanks,
Dave.

Yes, this is a bug.

  - Doug

I raised http://www.llvm.org/bugs/show_bug.cgi?id=13453
with a test case attached.

Cheers,
Dave.