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

Declarations

include/llvm/ADT/StringRef.h
  421     size_t find_first_not_of(StringRef Chars, size_t From = 0) const;

References

include/llvm/ADT/SmallString.h
  199     return str().find_first_not_of(Chars, From);
include/llvm/ADT/StringRef.h
  817       return drop_front(std::min(Length, find_first_not_of(Chars)));
include/llvm/Support/YAMLTraits.h
  541         std::min(Input.find_first_not_of("0123456789"), Input.size()));
  565            S.drop_front(2).find_first_not_of("01234567") == StringRef::npos;
  568     return S.size() > 2 && S.drop_front(2).find_first_not_of(
lib/DebugInfo/DWARF/DWARFContext.cpp
 1563           Name.find_first_not_of("._z")); // Skip ".", "z" and "_" prefixes.
 1612           RelSecName.find_first_not_of("._z")); // Skip . and _ prefixes.
lib/DebugInfo/Symbolize/Symbolize.cpp
  254     Name = Name.substr(Name.find_first_not_of("._"));
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
  208     size_t FirstNonSymbol = Expr.find_first_not_of("0123456789"
  448       FirstNonDigit = Expr.find_first_not_of("0123456789abcdefABCDEF", 2);
  452       FirstNonDigit = Expr.find_first_not_of("0123456789");
lib/MC/MCSectionELF.cpp
   31   if (Name.find_first_not_of("0123456789_."
lib/MC/MCSectionWasm.cpp
   25   if (Name.find_first_not_of("0123456789_."
lib/Support/FileCheck.cpp
 1210       Buffer = Buffer.substr(Buffer.find_first_not_of(" \t"));
 1354   Buffer = Buffer.substr(Buffer.find_first_not_of(" \t\n\r"));
lib/Support/LockFileManager.cpp
   65   PIDStr = PIDStr.substr(PIDStr.find_first_not_of(" "));
lib/Support/Path.cpp
  435       size_t loc = component.find_first_not_of(separators(style));
lib/Support/Regex.cpp
  185       StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789"));
lib/Support/StringExtras.cpp
   40   StringRef::size_type Start = Source.find_first_not_of(Delimiters);
lib/Target/X86/X86ISelLowering.cpp
45209   S = S.substr(S.find_first_not_of(" \t")); // Skip leading whitespace.
45216     StringRef::size_type Pos = S.find_first_not_of(" \t");
lib/Transforms/Scalar/SROA.cpp
 2405       size_t IndexEnd = OldName.find_first_not_of("0123456789");
 2409         size_t OffsetEnd = OldName.find_first_not_of("0123456789");
lib/Transforms/Utils/SimplifyLibCalls.cpp
  803     size_t Pos = S1.find_first_not_of(S2);
tools/clang/lib/AST/RawCommentList.cpp
  401     size_t WhitespaceLen = TokText.find_first_not_of(" \t");
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 1701     if (size_t EndNumber = MinorStr.find_first_not_of("0123456789")) {
 1723     if (size_t EndNumber = PatchText.find_first_not_of("0123456789")) {
tools/clang/lib/Format/BreakableToken.cpp
  112     StringRef::size_type FirstNonWhitespace = Text.find_first_not_of(Blanks);
  489   size_t StartOfLine = Lines[LineIndex].find_first_not_of(Blanks);
  608   size_t Trimmed = Content[LineIndex].find_first_not_of(Blanks);
  622          Lines[0].substr(1).find_first_not_of(Blanks) != StringRef::npos;
  654       size_t BreakLength = Lines[0].substr(1).find_first_not_of(Blanks);
  852   size_t Trimmed = Content[LineIndex].find_first_not_of(Blanks);
tools/clang/lib/Lex/Lexer.cpp
 1086   size_t NumWhitespaceChars = Rest.find_first_not_of(" \t");
tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp
  140   StringRef::size_type col = Str.find_first_not_of(Whitespaces);
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp
  145     EndIfStr = EndIfStr.substr(EndIfStr.find_first_not_of("#endif \t"));
tools/clang/tools/extra/clangd/CodeCompletionStrings.cpp
   56   return CommentText.find_first_not_of("/*-= \t\r\n") != llvm::StringRef::npos;
tools/dsymutil/DwarfLinker.cpp
  546     SectionName = SectionName.substr(SectionName.find_first_not_of("._"));
tools/dsymutil/DwarfStreamer.cpp
   39     SectionName = SectionName.substr(SectionName.find_first_not_of("._"));
tools/lld/ELF/ScriptLexer.cpp
  126     size_t pos = s.find_first_not_of(
tools/lldb/source/Commands/CommandObjectCommands.cpp
 1091       if (regex_sed.find_first_not_of("\t\n\v\f\r ",
tools/lldb/source/Host/linux/HostInfoLinux.cpp
   52     release = release.substr(0, release.find_first_not_of("0123456789."));
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1233   size_t start = command_string.find_first_not_of(k_white_space);
 1269         start = command_string.find_first_not_of(k_white_space, end);
tools/llvm-dwp/llvm-dwp.cpp
  422   Name = Name.substr(Name.find_first_not_of("._"));
tools/llvm-mc/Disassembler.cpp
   86     if (size_t Pos = Str.find_first_not_of(" \t\r\n,")) {
tools/llvm-mca/CodeRegionGenerator.cpp
   82   unsigned Position = Comment.find_first_not_of(" \t");
   90     Position = Comment.find_first_not_of(" \t");
  102   Position = Comment.find_first_not_of(" \t");
tools/llvm-rc/ResourceScriptCppFilter.cpp
   48     Pos = Data.find_first_not_of("\r\n", Pos);
tools/llvm-rc/ResourceScriptToken.cpp
  149   Pos = Data.find_first_not_of("\r\n", Pos);
unittests/ADT/StringRefTest.cpp
  491   EXPECT_EQ(4U, Str.find_first_not_of("hel"));
  492   EXPECT_EQ(StringRef::npos, Str.find_first_not_of("hello"));