Merge remote-tracking branch 'origin/4.0'

Change-Id: If0ba896a083392a532f76bb26bec3540a7c17667
This commit is contained in:
Eike Ziller
2016-04-25 13:27:09 +02:00
60 changed files with 451 additions and 75 deletions

View File

@@ -417,7 +417,9 @@ void TranslationUnit::checkTranslationUnitErrorCode(CXErrorCode errorCode) const
{
switch (errorCode) {
case CXError_Success: break;
default: throw TranslationUnitParseErrorException(d->filePath, d->projectPart.projectPartId());
default: throw TranslationUnitParseErrorException(d->filePath,
d->projectPart.projectPartId(),
errorCode);
}
}