r340280 - [analyzer] Correctly marked a virtual function 'override'

Kristof Umann via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 21 08:09:22 PDT 2018


Author: szelethus
Date: Tue Aug 21 08:09:22 2018
New Revision: 340280

URL: http://llvm.org/viewvc/llvm-project?rev=340280&view=rev
Log:
[analyzer] Correctly marked a virtual function 'override'

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp?rev=340280&r1=340279&r2=340280&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp Tue Aug 21 08:09:22 2018
@@ -117,7 +117,7 @@ public:
 
   virtual void printSeparator(llvm::raw_ostream &Out) const override {}
 
-  virtual bool isBase() const { return true; }
+  virtual bool isBase() const override { return true; }
 };
 
 } // end of anonymous namespace




More information about the cfe-commits mailing list