XCode: issues are in wrong places

Hello everyone!
For quite a while, all of the errors and warnings I’m getting are indicated to be in the wrong places, even in the wrong files sometimes. The issue is present both with Xcode 6 & 7 and in OSX 10.10 & 10.11. Anyone had the same trouble?

Reindexing doesn’t help.