Skip to content

Commit

Permalink
Remove unnecessary getters from translation unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Scholz authored and Bernhard Scholz committed Sep 14, 2020
1 parent 764c6d2 commit 38269ab
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/ast/TranslationUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -104,11 +99,6 @@ class TranslationUnit {
return debugReport;
}

/** Return debug report */
const DebugReport& getDebugReport() const {
return debugReport;
}

private:
/** Cached analyses */
mutable std::map<std::string, Own<analysis::Analysis>> analyses;
Expand Down

0 comments on commit 38269ab

Please sign in to comment.