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

Declarations

include/llvm/ADT/StringRef.h
  770     void split(SmallVectorImpl<StringRef> &A,

References

gen/tools/clang/include/clang/AST/Attrs.inc
13732       Features.split(AttrFeatures, ",");
13749       Features.split(AttrFeatures, ",");
13773       Features.split(AttrFeatures, ",");
lib/IR/AutoUpgrade.cpp
 3845         ID->getString().split(ValueComp, "#");
 4019         Value->getString().split(ValueComp, " ");
lib/MC/MCParser/WasmAsmParser.cpp
   96     FlagStr.split(Flags, ",", -1, false);
lib/Option/OptTable.cpp
  217     StringRef(In.Values).split(Candidates, ",", -1, false);
lib/ProfileData/InstrProf.cpp
  470     NameStrings.split(Names, getInstrProfNameSeparator());
lib/Support/Host.cpp
  153   ProcCpuinfoContent.split(Lines, "\n");
  288   ProcCpuinfoContent.split(Lines, "\n");
 1244   (*Text)->getBuffer().split(strs, "\n", /*MaxSplit=*/-1,
lib/Support/Signals.cpp
  180   Output.split(Lines, "\n");
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  386   TypeQual.split(SplitTypeQuals, " ", -1, false);
  815   TypeQual.split(SplitTypeQuals, " ", -1, false);
tools/clang/lib/ARCMigrate/FileRemapper.cpp
   71   fileBuf.get()->getBuffer().split(lines, "\n");
tools/clang/lib/Driver/Distro.cpp
   26     Data.split(Lines, "\n");
  117     Data.split(Lines, "\n");
tools/clang/lib/Driver/ToolChains/Arch/AArch64.cpp
   58   text.split(Split, StringRef("+"), -1, false);
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
   79   text.split(Split, StringRef("+"), -1, false);
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  106   Exts.split(Split, StringRef("_"));
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 1859     CIncludeDirs.split(dirs, ":");
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
  286     CIncludeDirs.split(dirs, ":");
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 2440     File.get()->getBuffer().split(Lines, "\n");
 2463         ConfigFile.get()->getBuffer().split(ConfigLines, "\n");
tools/clang/lib/Driver/ToolChains/Hurd.cpp
  145     CIncludeDirs.split(Dirs, ":");
tools/clang/lib/Driver/ToolChains/Linux.cpp
  674     CIncludeDirs.split(dirs, ":");
tools/clang/lib/Driver/ToolChains/MSVC.cpp
 1250         .split(Dirs, ";", /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/lib/Driver/ToolChains/Solaris.cpp
  244     CIncludeDirs.split(dirs, ":");
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
  233     CIncludeDirs.split(dirs, ":");
tools/clang/lib/Driver/ToolChains/XCore.cpp
  119     StringRef(cl_include_dir).split(Dirs, StringRef(EnvPathSeparatorStr));
  140     StringRef(cl_include_dir).split(Dirs, StringRef(EnvPathSeparatorStr));
tools/clang/lib/Format/BreakableToken.cpp
  346       .split(Lines, UseCRLF ? "\r\n" : "\n");
  738     TokenText.split(Lines, "\n");
tools/clang/lib/Format/UsingDeclarationsSorter.cpp
   37   A.split(NamesA, "::", /*MaxSplit=*/-1, /*KeepEmpty=*/false);
   39   B.split(NamesB, "::", /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/lib/Frontend/CompilerInvocation.cpp
  336     CheckerAndPackageList.split(CheckersAndPackages, ",");
  348     configList.split(configVals, ",");
  477     AnOpts.RawSilencedCheckersAndPackages.split(CheckersAndPackages, ";");
tools/clang/lib/Frontend/InitHeaderSearch.cpp
  265     CIncludeDirs.split(dirs, ":");
tools/clang/lib/Rewrite/Rewriter.cpp
  280     Str.split(lines, "\n");
tools/clang/lib/Sema/Sema.cpp
 2190   ExtStr.split(Exts, " ", /* limit */ -1, /* keep empty */ false);
 2198   ExtStr.split(Exts, " ", /* limit */ -1, /* keep empty */ false);
tools/clang/lib/Sema/SemaChecking.cpp
 6529   Reg.split(Fields, ":");
tools/clang/lib/Sema/SemaStmtAsm.cpp
  770   Member.split(Members, ".");
tools/clang/lib/Tooling/Core/Lookup.cpp
  136   UnspelledSpecifier.split(UnspelledScopes, "::", /*MaxSplit=*/-1,
tools/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
  247   Code.drop_front(MinInsertOffset).split(Lines, "\n");
tools/clang/tools/arcmt-test/arcmt-test.cpp
  251   inputBuf.get()->getBuffer().split(strs, "\n", /*MaxSplit=*/-1,
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
   35   Name.split(Splitted, "::", /*MaxSplit=*/-1,
  380       .split(DiffOldNsSplitted, "::", /*MaxSplit=*/-1,
tools/clang/tools/extra/clang-include-fixer/IncludeFixerContext.cpp
   21   StringQualifiers.split(Qualifiers, "::");
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp
   78   Identifier.split(Names, "::");
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  172     StringRef(Input).split(SemicolonSplits, ";");
  178       Split.second.split(CommaSplits, ",");
tools/clang/tools/extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
   76   StringRef(RawAssertList).split(AssertMacros, ",", -1, false);
tools/clang/tools/extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp
   36       .split(FunctionsThatShouldNotThrowVec, ",", -1, false);
   41   StringRef(RawIgnoredExceptions).split(IgnoredExceptionsVec, ",", -1, false);
tools/clang/tools/extra/clang-tidy/modernize/UseNullptrCheck.cpp
  468   StringRef(NullMacrosStr).split(NullMacros, ",");
tools/clang/tools/extra/clang-tidy/openmp/ExceptionEscapeCheck.cpp
   32   StringRef(RawIgnoredExceptions).split(IgnoredExceptionsVec, ",", -1, false);
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  293   Name.split(Substrs, "_", -1, false);
tools/clang/tools/extra/clang-tidy/utils/OptionsUtils.cpp
   20   Option.split(Names, StringsDelimiter);
tools/clang/tools/extra/clangd/AST.cpp
  222   OriginalName.split(OriginalParts, "::");
  223   CurrentNamespace.split(CurrentParts, "::");
tools/clang/tools/extra/clangd/FileDistance.cpp
  181   Scope.split(Split, "::", /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/tools/extra/clangd/SourceCode.cpp
  886   NS.split(Results, "::", /*MaxSplit=*/-1, /*KeepEmpty=*/false);
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp
   33   Haystack.split(Parts, Needle);
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
  120   QName.split(Components, "::");
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  154   listBuffer.get()->getBuffer().split(Strings, "\n", -1, false);
  180     TargetAndDependents.second.split(DependentsList, " ", -1, false);
  227   listBuffer.get()->getBuffer().split(Strings, "\n", -1, false);
tools/clang/tools/extra/pp-trace/PPTrace.cpp
  138   StringRef(Callbacks).split(Patterns, ",",
tools/lld/COFF/DriverUtils.cpp
   99   fullArg.split(splitArgs, ",");
tools/lld/tools/lld/lld.cpp
  110   progname.split(v, "-");
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 2879     lines->split(spec, " - ");
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
  166   response.split(devices, "\n", -1, false);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
  191     Line.split(columns, StringRef(":"), -1, false);
tools/lldb/tools/lldb-server/LLDBServerUtilities.cpp
   45   log_channels.split(channel_array, ":", /*MaxSplit*/ -1, /*KeepEmpty*/ false);
tools/llvm-exegesis/lib/BenchmarkResult.cpp
   71     String.split(Pieces, " ", /* MaxSplit */ -1, /* KeepEmpty */ false);
  264     String.split(Pieces, "=0x", /* MaxSplit */ -1,
tools/llvm-exegesis/llvm-exegesis.cpp
  195       .split(Pieces, ",", /* MaxSplit */ -1, /* KeepEmpty */ false);
unittests/ADT/StringRefTest.cpp
  195   StringRef(",ab,,c,").split(parts, ",", -1, false);
  201   StringRef(",ab,,c,").split(parts, ",", -1, true);
  206   StringRef("").split(parts, ",", -1, true);
  210   StringRef("").split(parts, ",", -1, false);
  214   StringRef(",").split(parts, ",", -1, false);
  219   StringRef(",").split(parts, ",", -1, true);
  224   StringRef("a,b").split(parts, ",", -1, true);
  230   StringRef("a,,b,c").split(parts, ",", 0, true);
  235   StringRef("a,,b,c").split(parts, ",", 0, false);
  240   StringRef("a,,b,c").split(parts, ",", 1, true);
  245   StringRef("a,,b,c").split(parts, ",", 1, false);
  250   StringRef("a,,b,c").split(parts, ",", 2, true);
  255   StringRef("a,,b,c").split(parts, ",", 2, false);
  261   StringRef("a,,b,c").split(parts, ",", 3, true);
  266   StringRef("a,,b,c").split(parts, ",", 3, false);
  276   StringRef().split(parts, ",", 0, true);
  281   StringRef("").split(parts, ",", 0, true);
  285   StringRef("").split(parts, ",", 0, false);
  287   StringRef().split(parts, ",", 0, false);
  295   StringRef("a,,b,c,d").split(parts, ",", 3, true);