forked from OSchip/llvm-project
This is yet another case clang-modernize failed to add "override".
llvm-svn: 205644
This commit is contained in:
parent
331f482cf6
commit
60ea496448
|
@ -747,10 +747,9 @@ public:
|
|||
|
||||
#ifndef NDEBUG
|
||||
StringRef name() const override { return _name; }
|
||||
|
||||
std::string _name;
|
||||
#else
|
||||
virtual StringRef name() const { return ""; }
|
||||
StringRef name() const override { return ""; }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@ -781,10 +780,9 @@ public:
|
|||
|
||||
#ifndef NDEBUG
|
||||
StringRef name() const override { return _name; }
|
||||
|
||||
std::string _name;
|
||||
#else
|
||||
virtual StringRef name() const { return ""; }
|
||||
StringRef name() const override { return ""; }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@ -899,10 +897,9 @@ public:
|
|||
|
||||
#ifndef NDEBUG
|
||||
StringRef name() const override { return _name; }
|
||||
|
||||
std::string _name;
|
||||
#else
|
||||
virtual StringRef name() const { return ""; }
|
||||
StringRef name() const override { return ""; }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue