https://bugs.kde.org/show_bug.cgi?id=510603

--- Comment #5 from Igor Kushnir <[email protected]> ---
(In reply to Igor Kushnir from comment #4)
> Can you pass
> non-null `line` and `column` pointers to clang_getFileLocation() in
> ClangUtils::getRawContents() and print them?
For example:
    CXFile rangeFile;
    unsigned int start, end;
    CXFile rangeFileEnd;
    unsigned int line, column;
    clang_getFileLocation(rangeStart, &rangeFile, &line, &column, &start);
    clang_getFileLocation(rangeEnd, &rangeFileEnd, &line, &column, &end);
And print out all variables declared in this code snippet. I expect the
pointers rangeFile and rangeFileEnd to be equal.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to