diff options
author | Kazu Hirata <kazu@google.com> | 2024-06-08 08:38:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-08 08:38:36 -0700 |
commit | 6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41 (patch) | |
tree | 8f099102b71ea4731c56b7288fed3a057283ca1e | |
parent | 38124fef7ec70cf73f3b86a03a287a88a16d7926 (diff) | |
download | llvm-6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41.zip llvm-6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41.tar.gz llvm-6834e6ddd07a0a23b71dc4f1c1fdc3e9d35ceb41.tar.bz2 |
[memprof] Remove redundant virtual (NFC) (#94858)
'override' makes 'virtual' redundant.
Identified with modernize-use-override.
-rw-r--r-- | llvm/include/llvm/ProfileData/MemProfReader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/ProfileData/MemProfReader.h b/llvm/include/llvm/ProfileData/MemProfReader.h index f028682..fbba6483 100644 --- a/llvm/include/llvm/ProfileData/MemProfReader.h +++ b/llvm/include/llvm/ProfileData/MemProfReader.h @@ -137,7 +137,7 @@ class RawMemProfReader final : public MemProfReader { public: RawMemProfReader(const RawMemProfReader &) = delete; RawMemProfReader &operator=(const RawMemProfReader &) = delete; - virtual ~RawMemProfReader() override = default; + ~RawMemProfReader() override = default; // Prints the contents of the profile in YAML format. void printYAML(raw_ostream &OS); @@ -161,7 +161,7 @@ public: // Returns a list of build ids recorded in the segment information. static std::vector<std::string> peekBuildIds(MemoryBuffer *DataBuffer); - virtual Error + Error readNextRecord(GuidMemProfRecordPair &GuidRecord, std::function<const Frame(const FrameId)> Callback) override; |