[Lldb-commits] [lldb] 68687e7 - [lldb][NFC] Mark GetNextPersistentVariableName as overriden to silence warning

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 24 04:31:29 PDT 2020


Author: Raphael Isemann
Date: 2020-03-24T12:30:03+01:00
New Revision: 68687e75e7cb494796439f127a93ea03f2710551

URL: https://github.com/llvm/llvm-project/commit/68687e75e7cb494796439f127a93ea03f2710551
DIFF: https://github.com/llvm/llvm-project/commit/68687e75e7cb494796439f127a93ea03f2710551.diff

LOG: [lldb][NFC] Mark GetNextPersistentVariableName as overriden to silence warning

This was triggering -Winconsistent-missing-override warnings.

Added: 
    

Modified: 
    lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h b/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
index f6298911dd6c..f888b2d56e68 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
@@ -51,7 +51,7 @@ class ClangPersistentVariables : public PersistentExpressionState {
 
   void RemovePersistentVariable(lldb::ExpressionVariableSP variable) override;
 
-  virtual ConstString GetNextPersistentVariableName(bool is_error = false);
+  ConstString GetNextPersistentVariableName(bool is_error = false) override;
 
   /// Returns the next file name that should be used for user expressions.
   std::string GetNextExprFileName() {


        


More information about the lldb-commits mailing list