Skip to content

Commit b94a66d

Browse files
committed
[clang] Fix '-Woverloaded-virtual='. NFC
1 parent 107940f commit b94a66d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/lib/CodeGen/CGOpenMPRuntimeGPU.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,14 @@ class CGOpenMPRuntimeGPU : public CGOpenMPRuntime {
163163
SourceLocation Loc) override;
164164

165165
// Currently unsupported on the device.
166+
using CGOpenMPRuntime::emitMessageClause;
166167
llvm::Value *emitMessageClause(CodeGenFunction &CGF, const Expr *Message,
167168
SourceLocation Loc) override;
168169

169170
// Currently unsupported on the device.
170-
virtual llvm::Value *emitSeverityClause(OpenMPSeverityClauseKind Severity,
171-
SourceLocation Loc) override;
171+
using CGOpenMPRuntime::emitSeverityClause;
172+
llvm::Value *emitSeverityClause(OpenMPSeverityClauseKind Severity,
173+
SourceLocation Loc) override;
172174

173175
/// Emits call to void __kmpc_push_num_threads(ident_t *loc, kmp_int32
174176
/// global_tid, kmp_int32 num_threads) to generate code for 'num_threads'

0 commit comments

Comments
 (0)