[Lldb-commits] [lldb] r223972 - Silence -Winconsistent-missing-override warnings.

Eric Christopher echristo at gmail.com
Wed Dec 10 14:24:56 PST 2014


Author: echristo
Date: Wed Dec 10 16:24:56 2014
New Revision: 223972

URL: http://llvm.org/viewvc/llvm-project?rev=223972&view=rev
Log:
Silence -Winconsistent-missing-override warnings.

Modified:
    lldb/trunk/include/lldb/Breakpoint/BreakpointResolverFileLine.h
    lldb/trunk/include/lldb/Breakpoint/BreakpointResolverName.h
    lldb/trunk/include/lldb/Core/SearchFilter.h

Modified: lldb/trunk/include/lldb/Breakpoint/BreakpointResolverFileLine.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Breakpoint/BreakpointResolverFileLine.h?rev=223972&r1=223971&r2=223972&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Breakpoint/BreakpointResolverFileLine.h (original)
+++ lldb/trunk/include/lldb/Breakpoint/BreakpointResolverFileLine.h Wed Dec 10 16:24:56 2014
@@ -37,20 +37,20 @@ public:
     virtual
     ~BreakpointResolverFileLine ();
 
-    virtual Searcher::CallbackReturn
+    Searcher::CallbackReturn
     SearchCallback (SearchFilter &filter,
                     SymbolContext &context,
                     Address *addr,
-                    bool containing);
+                    bool containing) override;
 
-    virtual Searcher::Depth
-    GetDepth ();
+    Searcher::Depth
+    GetDepth () override;
 
-    virtual void
-    GetDescription (Stream *s);
+    void
+    GetDescription (Stream *s) override;
 
-    virtual void
-    Dump (Stream *s) const;
+    void
+    Dump (Stream *s) const override;
 
     /// Methods for support type inquiry through isa, cast, and dyn_cast:
     static inline bool classof(const BreakpointResolverFileLine *) { return true; }

Modified: lldb/trunk/include/lldb/Breakpoint/BreakpointResolverName.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Breakpoint/BreakpointResolverName.h?rev=223972&r1=223971&r2=223972&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Breakpoint/BreakpointResolverName.h (original)
+++ lldb/trunk/include/lldb/Breakpoint/BreakpointResolverName.h Wed Dec 10 16:24:56 2014
@@ -64,20 +64,20 @@ public:
     virtual
     ~BreakpointResolverName ();
 
-    virtual Searcher::CallbackReturn
+    Searcher::CallbackReturn
     SearchCallback (SearchFilter &filter,
                     SymbolContext &context,
                     Address *addr,
-                    bool containing);
+                    bool containing) override;
 
-    virtual Searcher::Depth
-    GetDepth ();
+    Searcher::Depth
+    GetDepth () override;
 
-    virtual void
-    GetDescription (Stream *s);
+    void
+    GetDescription (Stream *s) override;
 
-    virtual void
-    Dump (Stream *s) const;
+    void
+    Dump (Stream *s) const override;
 
     /// Methods for support type inquiry through isa, cast, and dyn_cast:
     static inline bool classof(const BreakpointResolverName *) { return true; }

Modified: lldb/trunk/include/lldb/Core/SearchFilter.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/SearchFilter.h?rev=223972&r1=223971&r2=223972&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/SearchFilter.h (original)
+++ lldb/trunk/include/lldb/Core/SearchFilter.h Wed Dec 10 16:24:56 2014
@@ -274,11 +274,11 @@ public:
     SearchFilterForUnconstrainedSearches (const lldb::TargetSP &target_sp) : SearchFilter(target_sp) {}
     ~SearchFilterForUnconstrainedSearches () {}
     
-    virtual bool 
-    ModulePasses (const FileSpec &module_spec);
+    bool 
+    ModulePasses (const FileSpec &module_spec) override;
     
-    virtual bool
-    ModulePasses (const lldb::ModuleSP &module_sp);
+    bool
+    ModulePasses (const lldb::ModuleSP &module_sp) override;
 
 protected:
     lldb::SearchFilterSP
@@ -317,32 +317,32 @@ public:
     const SearchFilterByModule&
     operator=(const SearchFilterByModule& rhs);
 
-    virtual bool
-    ModulePasses (const lldb::ModuleSP &module_sp);
+    bool
+    ModulePasses (const lldb::ModuleSP &module_sp) override;
 
-    virtual bool
-    ModulePasses (const FileSpec &spec);
+    bool
+    ModulePasses (const FileSpec &spec) override;
 
-    virtual bool
-    AddressPasses (Address &address);
+    bool
+    AddressPasses (Address &address) override;
 
-    virtual bool
-    CompUnitPasses (FileSpec &fileSpec);
+    bool
+    CompUnitPasses (FileSpec &fileSpec) override;
 
-    virtual bool
-    CompUnitPasses (CompileUnit &compUnit);
+    bool
+    CompUnitPasses (CompileUnit &compUnit) override;
 
-    virtual void
-    GetDescription(Stream *s);
+    void
+    GetDescription(Stream *s) override;
 
-    virtual uint32_t
-    GetFilterRequiredItems ();
+    uint32_t
+    GetFilterRequiredItems () override;
 
-    virtual void
-    Dump (Stream *s) const;
+    void
+    Dump (Stream *s) const override;
 
-    virtual void
-    Search (Searcher &searcher);
+    void
+    Search (Searcher &searcher) override;
 
 protected:
     lldb::SearchFilterSP
@@ -378,32 +378,32 @@ public:
     const SearchFilterByModuleList&
     operator=(const SearchFilterByModuleList& rhs);
 
-    virtual bool
-    ModulePasses (const lldb::ModuleSP &module_sp);
+    bool
+    ModulePasses (const lldb::ModuleSP &module_sp) override;
 
-    virtual bool
-    ModulePasses (const FileSpec &spec);
+    bool
+    ModulePasses (const FileSpec &spec) override;
 
-    virtual bool
-    AddressPasses (Address &address);
+    bool
+    AddressPasses (Address &address) override;
 
-    virtual bool
-    CompUnitPasses (FileSpec &fileSpec);
+    bool
+    CompUnitPasses (FileSpec &fileSpec) override;
 
-    virtual bool
-    CompUnitPasses (CompileUnit &compUnit);
+    bool
+    CompUnitPasses (CompileUnit &compUnit) override;
 
-    virtual void
-    GetDescription(Stream *s);
+    void
+    GetDescription(Stream *s) override;
 
-    virtual uint32_t
-    GetFilterRequiredItems ();
+    uint32_t
+    GetFilterRequiredItems () override;
 
-    virtual void
-    Dump (Stream *s) const;
+    void
+    Dump (Stream *s) const override;
     
-    virtual void
-    Search (Searcher &searcher);
+    void
+    Search (Searcher &searcher) override;
 
 protected:
     lldb::SearchFilterSP
@@ -440,26 +440,26 @@ public:
     const SearchFilterByModuleListAndCU&
     operator=(const SearchFilterByModuleListAndCU& rhs);
 
-    virtual bool
-    AddressPasses (Address &address);
+    bool
+    AddressPasses (Address &address) override;
 
-    virtual bool
-    CompUnitPasses (FileSpec &fileSpec);
+    bool
+    CompUnitPasses (FileSpec &fileSpec) override;
 
-    virtual bool
-    CompUnitPasses (CompileUnit &compUnit);
+    bool
+    CompUnitPasses (CompileUnit &compUnit) override;
 
-    virtual void
-    GetDescription(Stream *s);
+    void
+    GetDescription(Stream *s) override;
 
-    virtual uint32_t
-    GetFilterRequiredItems ();
+    uint32_t
+    GetFilterRequiredItems () override;
 
-    virtual void
-    Dump (Stream *s) const;
+    void
+    Dump (Stream *s) const override;
 
-    virtual void
-    Search (Searcher &searcher);
+    void
+    Search (Searcher &searcher) override;
     
 protected:
     lldb::SearchFilterSP





More information about the lldb-commits mailing list