Skip to content

Commit 06f06de

Browse files
[PowerPC] Fix a warning
This patch fixes: llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h:25:3: error: 'EmitTargetCodeForMemcmp' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
1 parent 093395c commit 06f06de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PPCSelectionDAGInfo : public SelectionDAGTargetInfo {
2424
std::pair<SDValue, SDValue>
2525
EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain,
2626
SDValue Op1, SDValue Op2, SDValue Op3,
27-
const CallInst *CI) const;
27+
const CallInst *CI) const override;
2828
};
2929

3030
} // namespace llvm

0 commit comments

Comments
 (0)