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

References

include/llvm/ADT/StringRef.h
  845       return ltrim(Chars).rtrim(Chars);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
   43     StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim();
  337     StubContainerName = RemainingExpr.substr(0, ComaIdx).rtrim();
  374     FileName = RemainingExpr.substr(0, ComaIdx).rtrim();
lib/Object/Archive.cpp
  229                 sizeof(ArMemHdr->Size)).rtrim(" ").getAsInteger(10, Ret)) {
  233                                sizeof(ArMemHdr->Size)).rtrim(" "));
  251                                sizeof(ArMemHdr->AccessMode)).rtrim(" "));
  271                                sizeof(ArMemHdr->LastModified)).rtrim(" "));
tools/clang/lib/Driver/ToolChain.cpp
  190     ProgName = ProgName.rtrim("0123456789.");
tools/clang/lib/Format/BreakableToken.cpp
  126     StringRef BeforeCut = Text.substr(0, SpaceOffset).rtrim(Blanks);
  702     StringRef TrimmedLine = Line.rtrim(Blanks);
tools/clang/lib/Format/FormatTokenLexer.cpp
  757     FormatTok->TokenText = FormatTok->TokenText.rtrim(" \t\v\f");
tools/clang/lib/Frontend/CompilerInvocation.cpp
  176       Diagnostics.push_back(A->getOption().getName().drop_front(1).rtrim("=-"));
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4309       Prefix = Prefix.rtrim();
tools/clang/tools/extra/clang-tidy/readability/NamespaceCommentCheck.cpp
  113           .rtrim();   // Drop any whitespace before it.
tools/clang/tools/extra/clangd/JSONTransport.cpp
  277     if (LineRef.rtrim() == "---")
tools/clang/tools/extra/clangd/Selection.cpp
  174       bool SelectedAll = Begin == 0 && End >= FileContent.rtrim().size();
tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp
   44     FirstLine = FirstLine.rtrim(" {");
   45     Name = FirstLine.rtrim(" {");
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  477       modStr = modStr.rtrim();
tools/lldb/source/Core/IOHandler.cpp
  318   std::string line = StringRef(line_buffer.c_str(), pos).rtrim("\n\r");
tools/lldb/source/Initialization/SystemInitializerCommon.cpp
   83       llvm::StringRef working_dir = llvm::StringRef(*cwd).rtrim();
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 1175             path_ref.rtrim("\r\n").take_front(sizeof(developer_dir_path) - 1);
tools/lldb/tools/lldb-test/lldb-test.cpp
  371     Line = Line.ltrim().rtrim();
 1046     Line = Line.ltrim().rtrim();
tools/llvm-cov/CodeCoverage.cpp
  512     DC.DemangledNames[Function.Name] = Symbols[I++].rtrim();
tools/llvm-cxxdump/llvm-cxxdump.cpp
  399     outs().write_escaped(TD.MangledName.rtrim(StringRef("\0", 1)),
tools/llvm-jitlink/llvm-jitlink.cpp
  370     SizeString = SizeString.drop_back(2).rtrim();
  373     SizeString = SizeString.drop_back(2).rtrim();
  376     SizeString = SizeString.drop_back(2).rtrim();
tools/llvm-objdump/COFFDump.cpp
  719         outs() << "AUX " << Name.rtrim(StringRef("\0", 1))  << '\n';
tools/llvm-readobj/COFFDumper.cpp
 1516       W.printString("FileName", Name.rtrim(StringRef("\0", 1)));
tools/obj2yaml/coff2yaml.cpp
  326                        .rtrim(StringRef("\0", /*length=*/1));
unittests/ADT/StringRefTest.cpp
  328   EXPECT_EQ(StringRef("hello"), Str0.rtrim());
  329   EXPECT_EQ(StringRef(" hello"), Str1.rtrim());
  330   EXPECT_EQ(StringRef("  hello"), Str2.rtrim());
unittests/Support/YAMLIOTest.cpp
 1012         lenStr = lenStr.rtrim();