We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13647d8 commit 7ef9530Copy full SHA for 7ef9530
llvm/include/llvm/ADT/StringSet.h
@@ -57,7 +57,7 @@ class StringSet : public StringMap<std::nullopt_t, AllocatorTy> {
57
}
58
59
/// Check if the set contains the given \c key.
60
- bool contains(StringRef key) const { return Base::FindKey(key) != -1; }
+ bool contains(StringRef key) const { return Base::contains(key); }
61
};
62
63
} // end namespace llvm
0 commit comments