reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/StringRef.h
  388     size_t rfind(StringRef Str) const;

References

include/llvm/ADT/SmallString.h
  171     return str().rfind(Str);
include/llvm/ADT/StringRef.h
  750       size_t Idx = rfind(Separator);
include/llvm/ProfileData/SampleProf.h
  509         auto It = Cand.rfind(Suffix);
lib/ObjectYAML/ELFEmitter.cpp
  367   size_t SuffixPos = S.rfind(" [");
lib/Transforms/Scalar/SROA.cpp
 2401     size_t LastSROAPrefix = OldName.rfind(".sroa.");
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1351   size_t Ix = LoweredClassName.rfind(MethodNamePrefix);
tools/clang/lib/AST/DeclBase.cpp
  475   size_t suffix = RealizedPlatform.rfind("_app_extension");
tools/clang/lib/Sema/SemaDeclAttr.cpp
 7525         size_t suffix = RealizedPlatform.rfind("_app_extension");
tools/clang/lib/Tooling/Core/Lookup.cpp
  208     auto Pos = ReplacementString.rfind("::");
tools/clang/tools/extra/clang-tidy/utils/UsingInserter.cpp
   23   size_t LastSeparatorPos = QualifiedName.rfind("::");
tools/clang/tools/extra/clangd/Format.cpp
   65     auto I = Line.rfind(Marker);
tools/clang/tools/extra/clangd/SourceCode.cpp
  607   size_t Pos = QName.rfind("::");
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp
   19   size_t Pos = QName.rfind("::");
   43   size_t Pos = QName.rfind("::");
tools/lldb/source/Symbol/TypeList.cpp
  151               const size_t type_scope_pos = match_type_scope.rfind(type_scope);
tools/lldb/source/Symbol/TypeMap.cpp
  181               const size_t type_scope_pos = match_type_scope.rfind(type_scope);
unittests/ADT/StringRefTest.cpp
  472   EXPECT_EQ(StringRef::npos, Str.rfind("helloworld"));
  473   EXPECT_EQ(0U, Str.rfind("hello"));
  474   EXPECT_EQ(1U, Str.rfind("ello"));
  475   EXPECT_EQ(StringRef::npos, Str.rfind("zz"));
  481   EXPECT_EQ(5U, Str.rfind("HELLO"));
  482   EXPECT_EQ(6U, Str.rfind("ELLO"));
  483   EXPECT_EQ(StringRef::npos, Str.rfind("ZZ"));