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

@@ -27,6 +27,8 @@
#include <utf8string.h>
#include <clang-c/Index.h>
#include <exception>
namespace ClangBackEnd {
@@ -34,7 +36,9 @@ namespace ClangBackEnd {
class TranslationUnitParseErrorException : public std::exception
{
public:
TranslationUnitParseErrorException(const Utf8String &filePath, const Utf8String &projectPartId);
TranslationUnitParseErrorException(const Utf8String &filePath,
const Utf8String &projectPartId,
CXErrorCode errorCode);
const Utf8String &filePath() const;
const Utf8String &projectPartId() const;
@@ -50,6 +54,7 @@ public:
private:
Utf8String filePath_;
Utf8String projectPartId_;
CXErrorCode errorCode_;
mutable Utf8String what_;
};