aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2012-03-23 02:43:24 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2012-03-23 02:43:24 +0000
commite8018f24f0f0e1cb1490c37b158da5d5c456e577 (patch)
treea046ec28cbc91cc12be9efe8b4d4e616e138800e /lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
parent8c6d360636dee25f1ce071c3656810c6632cb89d (diff)
corrected check::EndOfTranslationUnit checker name and added 'const' to declaration
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp')
-rw-r--r--lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp b/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
index a5f9d300c9..843502f970 100644
--- a/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
+++ b/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
@@ -145,9 +145,9 @@ public:
/// \brief Called after analysis of a TranslationUnit is complete.
///
/// check::EndOfTranslationUnit
- void checkEndTranslationUnit(const TranslationUnitDecl *TU,
- AnalysisManager &Mgr,
- BugReporter &BR) {}
+ void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
+ AnalysisManager &Mgr,
+ BugReporter &BR) const {}
/// \brief Evaluates function call.