Going to 'Tools->C++->Update code model' and restarting seems to have fixed it.