diff --git a/src/ast/TranslationUnit.h b/src/ast/TranslationUnit.h index 2f052ab9d43..432942f35c1 100644 --- a/src/ast/TranslationUnit.h +++ b/src/ast/TranslationUnit.h @@ -89,11 +89,6 @@ class TranslationUnit { return errorReport; } - /** Return error report */ - const ErrorReport& getErrorReport() const { - return errorReport; - } - /** Destroy all cached analyses of translation unit */ void invalidateAnalyses() { analyses.clear(); @@ -104,11 +99,6 @@ class TranslationUnit { return debugReport; } - /** Return debug report */ - const DebugReport& getDebugReport() const { - return debugReport; - } - private: /** Cached analyses */ mutable std::map> analyses;