<div dir="ltr">Hello,<div><br></div><div>I'm wondering if there is a function in libclang where the use-case is as below.</div><div><br></div><div>Input: A cursor that's inside a function body</div><div>Out: The function declaration cursor of the function containing that function body</div><div><br></div><div>For example, for a code such as below,</div><div><br></div><div>int a() {</div><div>   b()</div><div>}</div><div><br></div><div>I'm wondering if I can use the cursor on "b()" as input to get the function declaration cursor on "int a()".</div><div><br></div></div>