[NFC] Add missing 'override's

This commit is contained in:
Logan Smith 2020-07-20 14:38:10 -07:00
parent cd05406b10
commit 8b6179f48c
2 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ class CGOpenMPRuntimeNVPTX : public CGOpenMPRuntimeGPU {
public:
explicit CGOpenMPRuntimeNVPTX(CodeGenModule &CGM);
llvm::Value *getGPUWarpSize(CodeGenFunction &CGF);
llvm::Value *getGPUWarpSize(CodeGenFunction &CGF) override;
};
} // CodeGen namespace.

View File

@ -89,14 +89,14 @@ class SuspendedThreadsListLinux : public SuspendedThreadsList {
public:
SuspendedThreadsListLinux() { thread_ids_.reserve(1024); }
tid_t GetThreadID(uptr index) const;
uptr ThreadCount() const;
tid_t GetThreadID(uptr index) override const;
uptr ThreadCount() const override;
bool ContainsTid(tid_t thread_id) const;
void Append(tid_t tid);
PtraceRegistersStatus GetRegistersAndSP(uptr index, uptr *buffer,
uptr *sp) const;
uptr RegisterCount() const;
uptr *sp) const override;
uptr RegisterCount() const override;
private:
InternalMmapVector<tid_t> thread_ids_;