[llvm] 24a8251 - [TableGen] Remove unused method form ScopeMatcher. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 23 00:47:52 PDT 2023
Author: Craig Topper
Date: 2023-04-23T00:44:50-07:00
New Revision: 24a8251b040959c72f409e60e0055c7b2e25ba3f
URL: https://github.com/llvm/llvm-project/commit/24a8251b040959c72f409e60e0055c7b2e25ba3f
DIFF: https://github.com/llvm/llvm-project/commit/24a8251b040959c72f409e60e0055c7b2e25ba3f.diff
LOG: [TableGen] Remove unused method form ScopeMatcher. NFC
Added:
Modified:
llvm/utils/TableGen/DAGISelMatcher.h
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/DAGISelMatcher.h b/llvm/utils/TableGen/DAGISelMatcher.h
index 468daf00b192..826080f2b3ed 100644
--- a/llvm/utils/TableGen/DAGISelMatcher.h
+++ b/llvm/utils/TableGen/DAGISelMatcher.h
@@ -215,10 +215,6 @@ class ScopeMatcher : public Matcher {
return Res;
}
- void setChildren(SmallVectorImpl<Matcher *> &&children) {
- Children = std::move(children);
- }
-
void setNumChildren(unsigned NC) {
if (NC < Children.size()) {
// delete any children we're about to lose pointers to.
More information about the llvm-commits
mailing list