Skip to content

Commit

Permalink
Merge pull request souffle-lang#1634 from b-scholz/tu
Browse files Browse the repository at this point in the history
Remove unnecessary getters from translation unit
  • Loading branch information
mmcgr authored Sep 14, 2020
2 parents 764c6d2 + 38269ab commit 3396f3c
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 3396f3c

Please sign in to comment.