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

References

include/llvm/TableGen/StringToOffsetTable.h
   88     for (char C : AggregateString) {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  205   std::replace(Filepath.begin(), Filepath.end(), '/', '\\');
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  324   std::copy(ChecksumString.begin(), ChecksumString.end(), CKMem.Bytes.data());
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
 1602   transform(HexString.begin(), HexString.end(), HexString.begin(), tolower);
lib/DebugInfo/PDB/IPDBSourceFile.cpp
   29     for (uint8_t c : Checksum)
lib/DebugInfo/PDB/PDBSymbolCompiland.cpp
   66           std::replace(Path.begin(), Path.end(), '/', '\\');
lib/ObjectYAML/COFFEmitter.cpp
   88         std::copy(str.begin(), str.end(), Sec.Header.Name + 1);
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
  261   Value.Bytes.assign(H.begin(), H.end());
lib/ObjectYAML/CodeViewYAMLSymbols.cpp
  275     Data.assign(Str.begin(), Str.end());
lib/Support/FileCheck.cpp
  653                     Value->begin(), Value->end());
lib/Support/Path.cpp
  561   std::replace(s.begin(), s.end(), '\\', '/');
lib/Support/ScaledNumber.cpp
  245   std::reverse(Str.begin(), Str.end());
lib/Support/TrigramIndex.cpp
   39   for (unsigned Char : Regex) {
lib/Support/YAMLParser.cpp
  725         EscapedInput.insert(EscapedInput.end(), Val.begin(), Val.end());
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
  858   std::transform(Str.begin(), Str.end(), Str.begin(), ::tolower);
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  941   Collapsed.erase(llvm::remove_if(Collapsed, isspace), Collapsed.end());
  987   Collapsed.erase(llvm::remove_if(Collapsed, isspace), Collapsed.end());
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  339   Sig.erase(remove_if(Sig, isspace), Sig.end());
  342   std::replace(Sig.begin(), Sig.end(), ',', '.');
tools/clang/include/clang/Basic/JsonSupport.h
   73   Str.erase(std::remove(Str.begin(), Str.end(), '\n'), Str.end());
   73   Str.erase(std::remove(Str.begin(), Str.end(), '\n'), Str.end());
tools/clang/lib/AST/ASTContext.cpp
 6872         S.replace(S.end()-2, S.end(), "rn");
 6872         S.replace(S.end()-2, S.end(), "rn");
tools/clang/lib/AST/CommentBriefParser.cpp
   26   for (std::string::iterator I = S.begin(), E = S.end();
tools/clang/lib/AST/CommentSema.cpp
  237         std::remove_if(ArgLower.begin(), ArgLower.end(), clang::isWhitespace),
  238         ArgLower.end());
tools/clang/lib/AST/MicrosoftMangle.cpp
 1394     std::replace(Name.begin(), Name.end(), '-', '_');
tools/clang/lib/CodeGen/CGBlocks.cpp
  164   std::replace(TypeAtEncoding.begin(), TypeAtEncoding.end(), '@', '\1');
tools/clang/lib/CodeGen/CGObjCGNU.cpp
   48   std::replace(MethodNameColonStripped.begin(), MethodNameColonStripped.end(),
 1432     std::replace(MangledTypes.begin(), MangledTypes.end(),
 1455     std::replace(MangledTypes.begin(), MangledTypes.end(),
 1667     std::replace(TypeEncoding.begin(), TypeEncoding.end(),
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2362   std::replace(Name.begin(), Name.end(), '-', '_');
tools/clang/lib/Driver/ToolChains/Clang.cpp
  639   Result.append(UID.begin(), UID.end());
tools/clang/lib/Frontend/TextDiagnostic.cpp
  335   assert(CaretLine.end() ==
 1118                   FixItInsertionLine.end() - I->CodeToInsert.size());
 1256       CaretLine.erase(CaretLine.end() - 1);
tools/clang/lib/Lex/MacroArgs.cpp
  241         Result.append(Str.begin(), Str.end());
tools/clang/lib/Lex/Pragma.cpp
  302     StrVal.erase(StrVal.begin() + ResultPos, StrVal.end() - 1);
  539       Message.erase(Message.end()-1);
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp
   96     std::copy(HexString.begin(), HexString.end(), USR.begin());
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
   80       Text.end());
tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp
   48   std::replace(Guard.begin(), Guard.end(), '/', '_');
   49   std::replace(Guard.begin(), Guard.end(), '.', '_');
   50   std::replace(Guard.begin(), Guard.end(), '-', '_');
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  859     std::replace(KindName.begin(), KindName.end(), '_', ' ');
  896   std::replace(KindName.begin(), KindName.end(), '_', ' ');
tools/clang/tools/extra/clangd/FindTarget.cpp
   51   std::replace(S.begin(), S.end(), '\n', ' ');
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
  296     std::replace(Request->begin(), Request->end(), ' ', '\0');
tools/clang/tools/extra/clangd/unittests/FormattedStringTests.cpp
   90   for (char C : Punctuation)
tools/clang/tools/extra/clangd/unittests/FuzzyMatchTests.cpp
   24       Word.erase(std::remove(Word.begin(), Word.end(), C), Word.end());
   24       Word.erase(std::remove(Word.begin(), Word.end(), C), Word.end());
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  457   std::replace(Tmp.begin(), Tmp.end(), '\\', '/');
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
  157   std::replace(SafeName.begin(), SafeName.end(), '-', '_');
  158   std::replace(SafeName.begin(), SafeName.end(), '.', '_');
  193   std::replace(FilePath.begin(), FilePath.end(), '\\', '/');
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  930     std::replace(CanonicalPath.begin(), CanonicalPath.end(), '\\', '/');
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
   46     std::replace(Result.begin(), Result.end(), '\\', '/');
  651   std::replace(Path.begin(), Path.end(), '\\', '/');
tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
   77   s.erase(std::remove_if(s.begin(), s.end(),
   79           s.end());
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  796   for (char &K : Str)
  954         Result.erase(--Result.end());
  970       Result.erase(--Result.end());
tools/clang/utils/TableGen/NeonEmitter.cpp
  121     for (char I : Str.str()) {
  769   for (char I : S) {
tools/lld/COFF/DriverUtils.cpp
  171   for (char c : s.lower()) {
  505   std::copy(manifest.begin(), manifest.end(), buf);
tools/lld/ELF/ScriptParser.cpp
 1493   for (char c : next().lower()) {
tools/lld/lib/Driver/DarwinLdDriver.cpp
  151     std::replace(fixedPath.begin(), fixedPath.end(), sep, '/');
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  449   std::replace(key.begin(), key.end(), '\\', '/');
tools/lldb/source/Commands/CommandCompletions.cpp
  432       find_if(regex_str.begin() + 1, regex_str.end(), regex_chars);
  433   while (pos < regex_str.end()) {
  435     pos = find_if(pos + 2, regex_str.end(), regex_chars);
tools/lldb/source/Expression/REPL.cpp
  150   for (char &ch : last_line) {
tools/lldb/source/Host/linux/HostInfoLinux.cpp
  131           id_string.erase(std::remove(id_string.begin(), id_string.end(), '\n'),
  132                           id_string.end());
  136               id_string.begin(), id_string.end(), id_string.begin(),
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1358         suffix.assign(command.begin() + pos, command.end());
tools/lldb/source/Interpreter/Options.cpp
  685           full_name.erase(full_name.begin() + 2, full_name.end());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  207   std::replace(body.begin(), body.end(), '\n', ' ');
  208   std::replace(body.begin(), body.end(), '\r', ' ');
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
   98               std::replace(module_basename.begin(), module_basename.end(), '.',
  100               std::replace(module_basename.begin(), module_basename.end(), ' ',
  102               std::replace(module_basename.begin(), module_basename.end(), '-',
 1312       std::transform(basename_lower.begin(), basename_lower.end(),
tools/lldb/source/Symbol/LocateSymbolFile.cpp
  313     std::transform(uuid_str.begin(), uuid_str.end(), uuid_str.begin(),
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
  160   std::replace(ID.begin(), ID.end(), ' ', '_');
tools/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp
  125   std::replace(NeededMacro.begin(), NeededMacro.end(), ' ', '_');
  148   std::replace(NeededMacro.begin(), NeededMacro.end(), ' ', '_');
tools/lli/lli.cpp
  940       std::copy(ChildExecPath.begin(), ChildExecPath.end(), &ChildPath[0]);
  944       std::copy(ChildInStr.begin(), ChildInStr.end(), &ChildIn[0]);
  948       std::copy(ChildOutStr.begin(), ChildOutStr.end(), &ChildOut[0]);
tools/llvm-config/llvm-config.cpp
  123         std::replace(path.begin(), path.end(), '/', '\\');
  366       std::replace(ActiveObjRoot.begin(), ActiveObjRoot.end(), '/', '\\');
  367       std::replace(ActivePrefix.begin(), ActivePrefix.end(), '/', '\\');
  368       std::replace(ActiveBinDir.begin(), ActiveBinDir.end(), '/', '\\');
  369       std::replace(ActiveLibDir.begin(), ActiveLibDir.end(), '/', '\\');
  370       std::replace(ActiveCMakeDir.begin(), ActiveCMakeDir.end(), '/', '\\');
  371       std::replace(ActiveIncludeOption.begin(), ActiveIncludeOption.end(), '/',
  408       std::replace(path.begin(), path.end(), '/', '\\');
  523               std::replace(path.begin(), path.end(), '/', '\\');
tools/llvm-exegesis/lib/BenchmarkResult.cpp
  306       Data.assign(Str.begin(), Str.end());
tools/llvm-objdump/ELFDump.cpp
  112   Result.append(FmtBuf.begin(), FmtBuf.end());
tools/llvm-objdump/MachODump.cpp
  674   Result.append(FmtBuf.begin(), FmtBuf.end());
tools/llvm-objdump/WasmDump.cpp
   49   Result.append(FmtBuf.begin(), FmtBuf.end());
tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
   42   Input.erase(std::remove(Input.begin(), Input.end(), 0), Input.end());
   42   Input.erase(std::remove(Input.begin(), Input.end(), 0), Input.end());
tools/polly/lib/Analysis/ScopGraphPrinter.cpp
  128     for (const auto &C : String) {
tools/polly/lib/CodeGen/LoopGenerators.cpp
  208   std::replace(FunctionName.begin(), FunctionName.end(), '.', '_');
usr/include/c++/7.4.0/bits/basic_string.h
  850       { return reverse_iterator(this->end()); }
 1300         { return this->replace(end(), end(), __first, __last); }
 1300         { return this->replace(end(), end(), __first, __last); }
 1461         { return this->replace(begin(), end(), __first, __last); }
 1831 	if (__last == end())
usr/include/c++/7.4.0/bits/range_access.h
   68     end(_Container& __cont) -> decltype(__cont.end())
   69     { return __cont.end(); }
usr/include/c++/7.4.0/bits/regex_compiler.h
  247 	return _M_traits.transform(__str.begin(), __str.end());
utils/TableGen/AsmWriterEmitter.cpp
  236       Instrs.erase(Instrs.begin()+70, Instrs.end());
utils/TableGen/CodeGenSchedule.cpp
  112           pat.insert(pat.end(), ')');
utils/TableGen/CodeGenTarget.cpp
  624   EnumName = std::string(DefName.begin()+4, DefName.end());
utils/unittest/googletest/include/gtest/internal/gtest-port.h
 2294   std::string::iterator it = str.end();