aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-08-07 10:43:58 -0700
committerKazu Hirata <kazu@google.com>2025-08-07 10:43:58 -0700
commit06f06deb774ada5aa37db89fa7b4a88b13163e0d (patch)
tree3613be9137d41fbcf2b18860312beb61d6682c3c /llvm/lib
parent093395ca6b5c180eabd597236a928c5ce2854260 (diff)
downloadllvm-06f06deb774ada5aa37db89fa7b4a88b13163e0d.zip
llvm-06f06deb774ada5aa37db89fa7b4a88b13163e0d.tar.gz
llvm-06f06deb774ada5aa37db89fa7b4a88b13163e0d.tar.bz2
[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]
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h b/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h
index 5635c6a..1537851 100644
--- a/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCSelectionDAGInfo.h
@@ -24,7 +24,7 @@ public:
std::pair<SDValue, SDValue>
EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain,
SDValue Op1, SDValue Op2, SDValue Op3,
- const CallInst *CI) const;
+ const CallInst *CI) const override;
};
} // namespace llvm