forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.0'
Change-Id: If0ba896a083392a532f76bb26bec3540a7c17667
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user