clang: Workaround for empty problem ranges at start of document

Authored by thomassc on Sep 6 2019, 4:37 PM.

Description

clang: Workaround for empty problem ranges at start of document

Sometimes, for some reason we seem to get problem ranges from libclang that
start and end on the first character of the document. As a result, the final
range computed for the ClangProblem will wrongly start from the beginning of the
document and extend until the actual location of the problem. This commit
introduces a workaround which discards the problematic problem ranges.

Details

Committed
thomasscOct 22 2019, 12:54 PM
Parents
R32:2dfc85fc464b: appimage: bump plasma/kapps/kf deps to v5.17.0/v19.08.2/v5.63.0
Branches
Unknown
Tags
Unknown