[cfe-commits] r153302 - /cfe/trunk/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp

Anton Yartsev anton.yartsev at gmail.com
Thu Mar 22 19:43:25 PDT 2012


Author: ayartsev
Date: Thu Mar 22 21:43:24 2012
New Revision: 153302

URL: http://llvm.org/viewvc/llvm-project?rev=153302&view=rev
Log:
corrected check::EndOfTranslationUnit checker name and added 'const' to declaration

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp?rev=153302&r1=153301&r2=153302&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp Thu Mar 22 21:43:24 2012
@@ -145,9 +145,9 @@
   /// \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.





More information about the cfe-commits mailing list