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

Declarations

include/llvm/Support/Regex.h
  101     static std::string escape(StringRef String);

References

lib/Support/FileCheck.cpp
   66   return Regex::escape(*VarVal);
  579     RegExStr += Regex::escape(PatternStr.substr(0, FixedMatchEnd));
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
 1141       RegexStr += llvm::Regex::escape(S.substr(0, VerbatimMatchLength));
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  176       RegStream << llvm::Regex::escape(Glob.substr(I, 1));
tools/lldb/source/API/SBTarget.cpp
 1808         regexstr = llvm::Regex::escape(name) + ".*";
 1976       regexstr = llvm::Regex::escape(name) + ".*";
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
  203       return llvm::Regex::escape(first_template_parameter.str()) +
  218           llvm::Regex::escape(symbol_name.slice(0, pos2 + 1).str()) +
unittests/Support/RegexTest.cpp
  130   EXPECT_EQ("a\\[bc\\]", Regex::escape("a[bc]"));
  131   EXPECT_EQ("abc\\{1\\\\,2\\}", Regex::escape("abc{1\\,2}"));