In ParseCurrentFile if current file is a header file, then tu.cursor points to some random source file that includes that header file.
GetCursorForFile should traverse it down to find the cursor for the header file itself. For now it returns None if tu.cursor doesn't correspond to the file we are parsing.
In ParseCurrentFile if current file is a header file, then tu.cursor points to some random source file that includes that header file. GetCursorForFile should traverse it down to find the cursor for the header file itself. For now it returns None if tu.cursor doesn't correspond to the file we are parsing.