[llvm] r251805 - Add missing override statements in ScalarEvolution.h. NFC

Silviu Baranga via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 07:29:49 PST 2015


Author: sbaranga
Date: Mon Nov  2 09:29:49 2015
New Revision: 251805

URL: http://llvm.org/viewvc/llvm-project?rev=251805&view=rev
Log:
Add missing override statements in ScalarEvolution.h. NFC

Modified:
    llvm/trunk/include/llvm/Analysis/ScalarEvolution.h

Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h?rev=251805&r1=251804&r2=251805&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolution.h Mon Nov  2 09:29:49 2015
@@ -254,7 +254,7 @@ namespace llvm {
     bool implies(const SCEVPredicate *N) const override;
     void print(raw_ostream &OS, unsigned Depth = 0) const override;
     bool isAlwaysTrue() const override;
-    const SCEV *getExpr() const;
+    const SCEV *getExpr() const override;
 
     /// \brief Returns the left hand side of the equality.
     const SCEVUnknown *getLHS() const { return LHS; }
@@ -298,7 +298,7 @@ namespace llvm {
     /// Implementation of the SCEVPredicate interface
     bool isAlwaysTrue() const override;
     bool implies(const SCEVPredicate *N) const override;
-    void print(raw_ostream &OS, unsigned Depth) const;
+    void print(raw_ostream &OS, unsigned Depth) const override;
     const SCEV *getExpr() const override;
 
     /// \brief We estimate the complexity of a union predicate as the size




More information about the llvm-commits mailing list