|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Analysis/CFGPrinter.h 87 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());
95 OutStr.insert(OutStr.begin()+i+1, 'l');
100 OutStr.erase(OutStr.begin()+i, OutStr.begin()+Idx);
100 OutStr.erase(OutStr.begin()+i, OutStr.begin()+Idx);
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/MachineFunction.cpp 547 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());
553 OutStr.insert(OutStr.begin()+i+1, 'l');
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 1602 transform(HexString.begin(), HexString.end(), HexString.begin(), tolower);
1602 transform(HexString.begin(), HexString.end(), HexString.begin(), tolower);
1605 HexString.insert(HexString.begin(), Width - Size, '0');
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 652 TmpStr.insert(TmpStr.begin() + Substitution->getIndex() + InsertOffset,
653 Value->begin(), Value->end());
lib/Support/GraphWriter.cpp 40 Str.insert(Str.begin()+i, '\\'); // Escape character...
45 Str.insert(Str.begin()+i, ' '); // Convert to two spaces
54 Str.erase(Str.begin()+i); continue;
61 Str.insert(Str.begin()+i, '\\'); // Escape character...
lib/Support/Path.cpp 561 std::replace(s.begin(), s.end(), '\\', '/');
lib/Support/ScaledNumber.cpp 245 std::reverse(Str.begin(), Str.end());
297 for (std::string::reverse_iterator I(Str.begin() + Truncate), E = Str.rend();
lib/Support/SourceMgr.cpp 324 FixItLine.begin() + HintCol);
lib/Support/TrigramIndex.cpp 39 for (unsigned Char : Regex) {
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp 858 std::transform(Str.begin(), Str.end(), Str.begin(), ::tolower);
858 std::transform(Str.begin(), Str.end(), Str.begin(), ::tolower);
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 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());
tools/clang/lib/AST/CommentBriefParser.cpp 25 std::string::iterator O = S.begin();
26 for (std::string::iterator I = S.begin(), E = S.end();
40 if (O != S.begin() && *(O - 1) == ' ')
43 S.resize(O - S.begin());
tools/clang/lib/AST/CommentSema.cpp 237 std::remove_if(ArgLower.begin(), ArgLower.end(), clang::isWhitespace),
tools/clang/lib/AST/MicrosoftMangle.cpp 1394 std::replace(Name.begin(), Name.end(), '-', '_');
tools/clang/lib/AST/StmtViz.cpp 46 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());
52 OutStr.insert(OutStr.begin()+i+1, 'l');
tools/clang/lib/Analysis/CFG.cpp 5990 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());
5996 OutStr.insert(OutStr.begin()+i+1, 'l');
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 1064 std::fill(CaretLine.begin()+StartColNo,CaretLine.begin()+EndColNo,'~');
1064 std::fill(CaretLine.begin()+StartColNo,CaretLine.begin()+EndColNo,'~');
tools/clang/lib/Lex/Lexer.cpp 234 Str.insert(Str.begin() + i, '\\');
246 Str.insert(Str.begin() + i + 1, 'n');
383 Result.resize(getSpellingSlow(Tok, TokStart, LangOpts, &*Result.begin()));
tools/clang/lib/Lex/MacroArgs.cpp 241 Result.append(Str.begin(), Str.end());
tools/clang/lib/Lex/Pragma.cpp 266 StrVal.erase(StrVal.begin());
268 StrVal.erase(StrVal.begin(), StrVal.begin() + 2);
268 StrVal.erase(StrVal.begin(), StrVal.begin() + 2);
302 StrVal.erase(StrVal.begin() + ResultPos, StrVal.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/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/Trigram.cpp 104 Chars.erase(Chars.begin());
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());
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(),
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 796 for (char &K : Str)
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);
tools/lldb/source/Core/Communication.cpp 262 m_bytes.erase(m_bytes.begin(), m_bytes.begin() + len);
262 m_bytes.erase(m_bytes.begin(), m_bytes.begin() + len);
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'),
136 id_string.begin(), id_string.end(), id_string.begin(),
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/Disassembler/llvm/DisassemblerLLVMC.cpp 1048 comments_string.replace(comments_string.begin() + newline_pos,
1049 comments_string.begin() + newline_pos + 1, 1, ' ');
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(), '-',
108 module_basename.insert(module_basename.begin(), '_');
1312 std::transform(basename_lower.begin(), basename_lower.end(),
1313 basename_lower.begin(), tolower);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 816 for (std::string::const_iterator c = m_bytes.begin() + content_start;
817 c != m_bytes.begin() + content_end; ++c) {
tools/lldb/source/Symbol/LocateSymbolFile.cpp 313 std::transform(uuid_str.begin(), uuid_str.end(), uuid_str.begin(),
313 std::transform(uuid_str.begin(), uuid_str.end(), uuid_str.begin(),
tools/lldb/source/Target/StackFrameList.cpp 964 buffer.insert(buffer.begin(), len, ' ');
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-pdbutil/PrettyClassLayoutGraphicalDumper.cpp 116 Label.insert(Label.begin(), 'v');
118 Label.insert(Label.begin(), 'i');
tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp 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(), '.', '_');
unittests/Support/Path.cpp 1528 *FD, makeMutableArrayRef(&*Buf.begin(), Buf.size())))
1548 *FD, makeMutableArrayRef(&*Buf.begin(), Buf.size()), Offset))
usr/include/c++/7.4.0/bits/basic_string.h 868 { return reverse_iterator(this->begin()); }
1461 { return this->replace(begin(), end(), __first, __last); }
1526 const size_type __pos = __p - begin();
1570 const size_type __pos = __p - begin();
1731 const size_type __pos = __p - begin();
1811 const size_type __pos = __position - begin();
1830 const size_type __pos = __first - begin();
2009 return this->replace(__i1 - begin(), __i2 - __i1, __s, __n);
2052 return _M_replace_aux(__i1 - begin(), __i2 - __i1, __n, __c);
2110 return this->replace(__i1 - begin(), __i2 - __i1,
2121 return this->replace(__i1 - begin(), __i2 - __i1,
2132 return this->replace(__i1 - begin(), __i2 - __i1,
2143 return this->replace(__i1 - begin(), __i2 - __i1,
usr/include/c++/7.4.0/bits/basic_string.tcc 386 return _M_replace(__i1 - begin(), __n1, __s._M_data(),
usr/include/c++/7.4.0/bits/locale_facets_nonio.tcc 320 __res.insert(__res.begin(), '-');
usr/include/c++/7.4.0/bits/range_access.h 48 begin(_Container& __cont) -> decltype(__cont.begin())
49 { return __cont.begin(); }
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());
264 Str.erase(Str.begin()+i+1);
utils/TableGen/AsmWriterInst.cpp 153 Modifier = std::string(AsmString.begin()+ModifierStart,
154 AsmString.begin()+VarEnd);
utils/TableGen/CodeGenTarget.cpp 620 std::string(DefName.begin(), DefName.begin() + 4) != "int_")
620 std::string(DefName.begin(), DefName.begin() + 4) != "int_")
624 EnumName = std::string(DefName.begin()+4, DefName.end());
643 std::string(Name.begin(), Name.begin() + 5) != "llvm.")
643 std::string(Name.begin(), Name.begin() + 5) != "llvm.")
652 std::string(Name.begin() + 5, Name.begin() + 6 + TargetPrefix.size())
652 std::string(Name.begin() + 5, Name.begin() + 6 + TargetPrefix.size())
utils/unittest/googletest/include/gtest/internal/gtest-port.h 2295 while (it != str.begin() && IsSpace(*--it))