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

References

lib/Bitcode/Reader/BitcodeReader.cpp
  294       if (S.find("__DATA,__objc_catlist") != std::string::npos ||
  295           S.find("__OBJC,__category") != std::string::npos)
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  209   while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos)
  215   while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) {
  232   while ((Cursor = Filepath.find("\\\\", Cursor)) != std::string::npos)
lib/CodeGen/MIRCanonicalizerPass.cpp
  114     const size_t i = S.find("=");
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
  122         if (Attrs.find("shape=") == std::string::npos)
lib/IR/AutoUpgrade.cpp
 1636   if (AsmStr->find("mov\tfp") == 0 &&
 1637       AsmStr->find("objc_retainAutoreleaseReturnValue") != std::string::npos &&
 1638       (Pos = AsmStr->find("# marker")) != std::string::npos) {
lib/Support/Unix/Host.inc
   38   std::string::size_type DarwinDashIdx = TargetTripleString.find("-darwin");
   44   std::string::size_type MacOSDashIdx = TargetTripleString.find("-macos");
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2957   bool ExpectRegister = (Op.lower().find("all") == StringRef::npos);
lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  182     FU = FU.substr(FU.find("_") + 1);
  183     size_t Pos = FU.find("Unit");
tools/clang/include/clang/Basic/JsonSupport.h
   45     if (TempPos != Str.find("\\\\", Pos)) {
   64     if (TempPos != Str.find("\\\"", Pos)) {
tools/clang/lib/Basic/Targets/Hexagon.cpp
   85     else if (F.find("+hvxv") != std::string::npos) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1311         std::string::size_type pos = typeName.find("unsigned");
 1323         pos = baseTypeName.find("unsigned");
 1358         std::string::size_type pos = typeName.find("unsigned");
 1385         pos = baseTypeName.find("unsigned");
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  142     const size_t Pos = Line.find(" ");
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  282           VSInstallPath.c_str(), VSInstallPath.find(R"(\Common7\IDE)")));
tools/clang/lib/Format/Format.cpp
 1869     Pos = Code.find("\r\n", LastPos);
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  628     if (D.RegexKind && D.Text.find("{{") == StringRef::npos) {
tools/clang/lib/Sema/SemaOverload.cpp
12153               NS->getQualifiedNameAsString().find("__") != std::string::npos)
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
  719   return StringRef(name).lower().find("debug") != StringRef::npos;
 1254       if (VD->getName().lower().find("plural") != StringRef::npos ||
 1255           VD->getName().lower().find("singular") != StringRef::npos) {
 1285       if (NormalizedName.find("loc") != std::string::npos) {
tools/clang/tools/extra/unittests/clang-query/QueryEngineTest.cpp
   70   EXPECT_TRUE(OS.str().find("Available commands:") != std::string::npos);
   76   EXPECT_TRUE(OS.str().find("foo.cc:1:1: note: \"root\" binds here") !=
   78   EXPECT_TRUE(OS.str().find("foo.cc:2:1: note: \"root\" binds here") !=
   80   EXPECT_TRUE(OS.str().find("bar.cc:1:1: note: \"root\" binds here") !=
   82   EXPECT_TRUE(OS.str().find("bar.cc:2:1: note: \"root\" binds here") !=
   84   EXPECT_TRUE(OS.str().find("4 matches.") != std::string::npos);
   90   EXPECT_TRUE(OS.str().find("foo.cc:1:1: note: \"root\" binds here") !=
   92   EXPECT_TRUE(OS.str().find("1 match.") != std::string::npos);
  100   EXPECT_TRUE(OS.str().find("Binding for \"root\":\nvoid foo1()") !=
  109   EXPECT_TRUE(OS.str().find("FunctionDecl") != std::string::npos);
  119     EXPECT_TRUE(Output.find("FunctionDecl") != std::string::npos);
  120     EXPECT_TRUE(Output.find("foo.cc:1:1: note: \"root\" binds here") !=
  129   EXPECT_TRUE(OS.str().find("No bindings.") != std::string::npos);
  148   EXPECT_TRUE(OS.str().find("foo.cc:1:1: note: \"root\" binds here") !=
  150   EXPECT_TRUE(OS.str().find("1 match.") != std::string::npos);
tools/clang/unittests/Analysis/CloneDetectionTest.cpp
   45               if (D->getNameAsString().find("bar") == 0)
   83     ASSERT_TRUE(ND->getNameAsString().find("bar") != 0);
  102     if (ND->getNameAsString().find("bar") == 0) {
tools/clang/utils/TableGen/NeonEmitter.cpp
 2264           Def->getName().find("cvt") != std::string::npos)
tools/gold/gold-plugin.cpp
  677          options::thinlto_object_suffix_replace.find(";") != StringRef::npos);
tools/lldb/source/Commands/CommandObjectMemory.cpp
  412         while ((idx = type_str.find(keyword, idx)) != std::string::npos) {
tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp
  262         for (auto iter = type_name_str.find(" *"); iter != std::string::npos;
  263              iter = type_name_str.find(" *")) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1296     size_t pos = s.find("--", offset);
 1424       size_t strpos = raw_input_string.find(cmd_args.GetArgumentAtIndex(index));
 1890       size_t pos = raw_input_string.find(" -- ");
 1944             raw_input_string.find(cmd_args.GetArgumentAtIndex(index));
tools/lldb/source/Interpreter/CommandObjectRegexCommand.cpp
   43           for (idx = 0; (percent_var_idx = new_command.find(
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  367   if (m_compiler->getTargetOpts().Triple.find("arm64") == std::string::npos &&
  368       m_compiler->getTargetOpts().Triple.find("arm") != std::string::npos &&
  369       m_compiler->getTargetOpts().Triple.find("ios") != std::string::npos) {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
  488       if (name_str.find("objc_msgSend") == std::string::npos)
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
  108     size_t spacePos = apiName.find(" ");
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
   89   if (str.find("#1/") == 0) {
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 3902                 const size_t double_slash_pos = full_so_path.find("//");
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
  170           size_t pos = xcode_contents_path.find("/Xcode.app/Contents/");
  197               pos = default_xcode_sdk.find("/Xcode.app/Contents/");
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
  151       if (entry.packet.data.find("QEnvironment") == 1) {
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 1607         const size_t thread_pcs_pos = stop_info_str.find(";thread-pcs:");
 1617         const size_t threads_pos = stop_info_str.find(";threads:");
 4440           if (gdb_type.find("int") == 0) {
 4964   while ((found = input.find(end_delimiter, pos)) != std::string::npos) {
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
  301       corefile_identifier.find("Darwin Kernel") != std::string::npos) {
  304     if (corefile_identifier.find("UUID=") != std::string::npos) {
  305       size_t p = corefile_identifier.find("UUID=") + strlen("UUID=");
  309     if (corefile_identifier.find("stext=") != std::string::npos) {
  310       size_t p = corefile_identifier.find("stext=") + strlen("stext=");
  329       && corefile_identifier.find("EFI ") != std::string::npos) {
  331       if (corefile_identifier.find("UUID=") != std::string::npos) {
  332           size_t p = corefile_identifier.find("UUID=") + strlen("UUID=");
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  216       if (ExpectedCSD->find("Linux") != std::string::npos)
tools/lldb/tools/lldb-vscode/ExceptionBreakpoint.cpp
   17   bool catch_value = filter.find("_catch") != std::string::npos;
   18   bool throw_value = filter.find("_throw") != std::string::npos;
tools/lldb/unittests/Utility/LogTest.cpp
  154   EXPECT_NE(std::string::npos, error.find("unrecognized log category 'baz'"))
  187   EXPECT_NE(std::string::npos, error.find("unrecognized log category 'baz'"))
tools/llvm-lto/llvm-lto.cpp
  434          ThinLTOPrefixReplace.find(";") != StringRef::npos);
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1801       auto FormPos = OS.str().find("DW_FORM_implicit_const");
unittests/IR/AsmWriterTest.cpp
   34   std::size_t r = OS.str().find("<badref> = add i32 undef, undef, !<empty");
unittests/Option/OptionParsingTest.cpp
   97   EXPECT_NE(std::string::npos, Help.find("-A"));
  101   EXPECT_NE(std::string::npos, Help.find("USAGE: name [options] file...\n"));
unittests/Support/SpecialCaseListTest.cpp
  165   EXPECT_EQ(0U, Error.find("can't open file 'unexisting':"));
utils/TableGen/FastISelEmitter.cpp
  421   std::string::size_type pos = OpName.find("::");