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/Analysis/VFABIDemangling.cpp
  360   MangledName = MangledName.ltrim(ScalarName);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
   54     StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim();
  159       return std::make_pair(BinOpToken::ShiftLeft, Expr.substr(2).ltrim());
  161       return std::make_pair(BinOpToken::ShiftRight, Expr.substr(2).ltrim());
  182     return std::make_pair(Op, Expr.substr(1).ltrim());
  213                           Expr.substr(FirstNonSymbol).ltrim());
  225     StringRef RemainingExpr = Expr.substr(1).ltrim();
  237     RemainingExpr = RemainingExpr.substr(1).ltrim();
  247     RemainingExpr = RemainingExpr.substr(1).ltrim();
  293     StringRef RemainingExpr = Expr.substr(1).ltrim();
  305     RemainingExpr = RemainingExpr.substr(1).ltrim();
  331     StringRef RemainingExpr = Expr.substr(1).ltrim();
  338     RemainingExpr = RemainingExpr.substr(ComaIdx).ltrim();
  343     RemainingExpr = RemainingExpr.substr(1).ltrim();
  351     RemainingExpr = RemainingExpr.substr(1).ltrim();
  368     StringRef RemainingExpr = Expr.substr(1).ltrim();
  375     RemainingExpr = RemainingExpr.substr(ComaIdx).ltrim();
  380     RemainingExpr = RemainingExpr.substr(1).ltrim();
  388     RemainingExpr = RemainingExpr.substr(1).ltrim();
  485         evalComplexExpr(evalSimpleExpr(Expr.substr(1).ltrim(), PCtx), PCtx);
  491     RemainingExpr = RemainingExpr.substr(1).ltrim();
  501     StringRef RemainingExpr = Expr.substr(1).ltrim();
  506     RemainingExpr = RemainingExpr.substr(1).ltrim();
  516     RemainingExpr = RemainingExpr.substr(1).ltrim();
  592     RemainingExpr = RemainingExpr.substr(1).ltrim();
  603     RemainingExpr = RemainingExpr.substr(1).ltrim();
  614     RemainingExpr = RemainingExpr.substr(1).ltrim();
lib/Option/OptTable.cpp
  346   StringRef Name = StringRef(Str).ltrim(PrefixChars);
lib/Support/FileCheck.cpp
  136   Expr = Expr.ltrim(SpaceChars);
  227   Expr = Expr.ltrim(SpaceChars);
  249   Expr = Expr.ltrim(SpaceChars);
  261   Expr = Expr.ltrim(SpaceChars);
  283   Expr = Expr.ltrim(SpaceChars);
  307     DefExpr = DefExpr.ltrim(SpaceChars);
lib/Support/Host.cpp
  160       Implementer = Lines[I].substr(15).ltrim("\t :");
  162       Hardware = Lines[I].substr(8).ltrim("\t :");
  178         return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
  203         return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
  222         return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
  233         return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
  257         I.ltrim("\t :").getAsInteger(0, Variant);
  263         I.ltrim("\t :").getAsInteger(0, Part);
lib/Support/YAMLParser.cpp
 2428   T = T.substr(T.find_first_of(" \t")).ltrim(" \t");
 2431   StringRef TagPrefix = T.substr(HandleEnd).ltrim(" \t");
tools/clang/lib/Format/BreakableToken.cpp
   95     if (kNumberedListRegexp->match(Text.substr(SpaceOffset).ltrim(Blanks)))
  130       AfterCut = AfterCut.ltrim(Blanks);
  189   StringRef Content = Token.TokenText.substr(2).ltrim();
  558     ContentWithNoDecoration = ContentWithNoDecoration.substr(1).ltrim(Blanks);
  627   StringRef TrimmedContent = Content[LineIndex].ltrim(Blanks);
  714   if (Lines[LineIndex].ltrim(Blanks).startswith("*")) {
  715     IndentContent = Lines[LineIndex].ltrim(Blanks).substr(1);
  746       Lines[i] = Lines[i].ltrim(Blanks);
  750           getLineCommentIndentPrefix(Lines[i].ltrim(Blanks), Style);
tools/clang/lib/Format/Format.cpp
 2208 bool isLikelyXml(StringRef Code) { return Code.ltrim().startswith("<"); }
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4310       Suffix = Suffix.ltrim();
tools/clang/lib/Sema/SemaType.cpp
 7347     if (PrevAccessQual == AttrName.ltrim("_")) {
tools/clang/tools/extra/clang-query/QueryParser.cpp
   29   Line = Line.ltrim();
tools/clang/tools/extra/clang-tidy/readability/IsolateDeclarationCheck.cpp
  240                        .concat(Snippets[I].ltrim())
tools/clang/tools/extra/clangd/Format.cpp
  142   StringRef TrailingTrim = Trailing.ltrim();
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  700   Line = Line.ltrim();
  703   Line = Line.ltrim();
  708   Line = Line.ltrim();
  711   Line = Line.ltrim();
tools/lld/COFF/DriverUtils.cpp
  275     arg = arg.ltrim();
tools/lld/ELF/ScriptLexer.cpp
  161     s = s.ltrim();
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  484       scalar = scalar.ltrim();
tools/lldb/source/Commands/CommandObjectExpression.cpp
  327   code = llvm::getToken(code).second.ltrim();
tools/lldb/source/Commands/CommandObjectSettings.cpp
  208     var_value = var_value.split(var_name).second.ltrim();
tools/lldb/source/Host/linux/Host.cpp
   64       Line = Line.ltrim();
   67       Line = Line.ltrim();
   74       Line = Line.ltrim();
   77       Line = Line.ltrim();
   84       Line.ltrim().consumeInteger(10, PPid);
   87       char S = Line.ltrim().front();
  109       Line = Line.ltrim();
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 2519     help_text = help_text.drop_front(this_line.size()).ltrim();
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  153       m_qualifiers = full.substr(arg_end + 1).ltrim();
tools/lldb/source/Utility/Args.cpp
   72   return str.ltrim(k_space_separators);
tools/lldb/source/Utility/UUID.cpp
   96   p = p.ltrim();
tools/lldb/tools/lldb-test/lldb-test.cpp
  371     Line = Line.ltrim().rtrim();
 1046     Line = Line.ltrim().rtrim();
tools/llvm-exegesis/lib/SnippetFile.cpp
   73       const auto RegName = CommentText.ltrim();
tools/llvm-mca/Views/BottleneckAnalysis.cpp
  301   FOS << StringRef(Instruction).ltrim();
tools/llvm-mca/Views/InstructionInfoView.cpp
  103     Str = Str.ltrim();
tools/llvm-mca/Views/ResourcePressureView.cpp
  171     Str = Str.ltrim();
tools/llvm-mca/Views/TimelineView.cpp
  200     Str = Str.ltrim();
  315       Str = Str.ltrim();
tools/llvm-rc/ResourceScriptCppFilter.cpp
   59   Line = Line.ltrim();
   77       Line.ltrim(); // There could be multiple spaces after the #line directive
   83   Line = Line.ltrim();
unittests/ADT/StringRefTest.cpp
  331   EXPECT_EQ(StringRef("hello"), Str0.ltrim());
  332   EXPECT_EQ(StringRef("hello "), Str1.ltrim());
  333   EXPECT_EQ(StringRef("hello  "), Str2.ltrim());
unittests/Support/YAMLIOTest.cpp
 1017         widthStr = widthStr.ltrim();