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

References

include/llvm/ADT/Optional.h
  104       value = std::move(y);
include/llvm/ADT/fallible_iterator.h
  207     *getErrPtr() = std::move(Err);
  213     *getErrPtr() = Error::success();
include/llvm/ExecutionEngine/JITSymbol.h
  259       Err = std::move(Other.Err);
  268       Err = std::move(Other.Err);
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  127       Err = errorCodeToError(EC);
  138       Err = errorCodeToError(EC);
  251       Err = TP.takeError();
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  602       Err = Error::success();
  604       Err = RIOrErr.takeError();
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  398       Err = Error::success();
  468         Err =
include/llvm/ExecutionEngine/Orc/RPCUtils.h
 1524               Result = std::move(R);
include/llvm/Object/ELF.h
  221       Err = createError("PT_NOTE header has invalid offset (0x" +
  240       Err = createError("SHT_NOTE section " + getSecIndexForError(this, &Shdr) +
include/llvm/Object/ELFTypes.h
  637     *Err = make_error<StringError>("ELF note overflows container",
  651       *Err = Error::success();
  660         *Err = Error::success();
include/llvm/Support/Error.h
  193     *this = std::move(Other);
  911       R = ErrorList::join(
 1066       *Err = Error::success();
include/llvm/Support/MSVCErrorWorkarounds.h
   34     Error::operator=(std::move(Other));
include/llvm/Support/type_traits.h
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
lib/ExecutionEngine/Orc/Core.cpp
 1880       ResolutionError = R.takeError();
 2040       ResolutionError = R.takeError();
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  304   Err = std::move(Err2);
lib/ExecutionEngine/Orc/LLJIT.cpp
  116     Err = DLOrErr.takeError();
  123       Err = CompileFunction.takeError();
  207       Err = LCTMgrOrErr.takeError();
  221     Err = make_error<StringError>("Could not construct "
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  352     Err = joinErrors(std::move(Err), P->notifyEmitted(MR));
  369     Err = joinErrors(std::move(Err), P->notifyRemovingModule(K));
  390     Err = joinErrors(std::move(Err), P->notifyRemovingAllModules());
  404     Err = joinErrors(std::move(Err), Allocs.back()->deallocate());
  478     Err = joinErrors(std::move(Err),
lib/LTO/Caching.cpp
  109         E = handleErrors(std::move(E), [&](const ECError &E) -> Error {
lib/LTO/LTO.cpp
  945     Result = runThinLTO(AddStream, Cache, GUIDPreservedSymbols);
lib/MCA/Pipeline.cpp
   56     Err = S->cycleStart();
   63     Err = FirstStage.execute(IR);
   67     Err = S->cycleEnd();
lib/Object/Archive.cpp
   70         *Err = malformedError(Msg + "at offset " + Twine(Offset));
   72         *Err = malformedError(Msg + "for " + NameOrErr.get());
   90         *Err = malformedError(Msg + "at offset " + Twine(Offset));
   92         *Err = malformedError(Msg + "for " + NameOrErr.get());
  353     *Err = isThinOrErr.takeError();
  360       *Err = MemberSize.takeError();
  372     *Err = NameOrErr.takeError();
  384       *Err = malformedError("long name length characters after the #1/ are "
  553     Err = make_error<GenericBinaryError>("file too small to be an archive",
  573     Err = Error::success();
  588     Err = NameOrErr.takeError();
  621       Err = BufOrErr.takeError();
  629     Err = Error::success();
  638       Err = NameOrErr.takeError();
  647         Err = BufOrErr.takeError();
  660         Err = BufOrErr.takeError();
  682       Err = BufOrErr.takeError();
  692       Err = Error::success();
  697       Err = NameOrErr.takeError();
  709       Err = BufOrErr.takeError();
  716     Err = Error::success();
  723     Err = Error::success();
  728     Err = errorCodeToError(object_error::parse_failed);
  737     Err = BufOrErr.takeError();
  747     Err = Error::success();
  753     Err = NameOrErr.takeError();
  763       Err = BufOrErr.takeError();
  772   Err = Error::success();
lib/Object/MachOObjectFile.cpp
  223     Err = malformedError("the mach header extends past the end of the "
  230     Err = HeaderOrErr.takeError();
 1275     Err = malformedError("load commands extend past the end of the file");
 1279     Err = malformedError("universal header architecture: " +
 1293       Err = LoadOrErr.takeError();
 1318           Err = malformedError("load command " + Twine(I) + " cmdsize not a "
 1325         Err = malformedError("load command " + Twine(I) + " cmdsize not a "
 1332       if ((Err = checkSymtabCommand(*this, Load, I, &SymtabLoadCmd, Elements)))
 1335       if ((Err = checkDysymtabCommand(*this, Load, I, &DysymtabLoadCmd,
 1339       if ((Err = checkLinkeditDataCommand(*this, Load, I, &DataInCodeLoadCmd,
 1344       if ((Err = checkLinkeditDataCommand(*this, Load, I, &LinkOptHintsLoadCmd,
 1350       if ((Err = checkLinkeditDataCommand(*this, Load, I, &FuncStartsLoadCmd,
 1355       if ((Err = checkLinkeditDataCommand(*this, Load, I, &SplitInfoLoadCmd,
 1360       if ((Err = checkLinkeditDataCommand(*this, Load, I, &CodeSignDrsLoadCmd,
 1365       if ((Err = checkLinkeditDataCommand(*this, Load, I, &CodeSignLoadCmd,
 1370       if ((Err = checkDyldInfoCommand(*this, Load, I, &DyldInfoLoadCmd,
 1374       if ((Err = checkDyldInfoCommand(*this, Load, I, &DyldInfoLoadCmd,
 1379         Err = malformedError("LC_UUID command " + Twine(I) + " has incorrect "
 1384         Err = malformedError("more than one LC_UUID command");
 1389       if ((Err = parseSegmentLoadCommand<MachO::segment_command_64,
 1395       if ((Err = parseSegmentLoadCommand<MachO::segment_command,
 1401       if ((Err = checkDylibIdCommand(*this, Load, I, &DyldIdLoadCmd)))
 1404       if ((Err = checkDylibCommand(*this, Load, I, "LC_LOAD_DYLIB")))
 1408       if ((Err = checkDylibCommand(*this, Load, I, "LC_LOAD_WEAK_DYLIB")))
 1412       if ((Err = checkDylibCommand(*this, Load, I, "LC_LAZY_LOAD_DYLIB")))
 1416       if ((Err = checkDylibCommand(*this, Load, I, "LC_REEXPORT_DYLIB")))
 1420       if ((Err = checkDylibCommand(*this, Load, I, "LC_LOAD_UPWARD_DYLIB")))
 1424       if ((Err = checkDyldCommand(*this, Load, I, "LC_ID_DYLINKER")))
 1427       if ((Err = checkDyldCommand(*this, Load, I, "LC_LOAD_DYLINKER")))
 1430       if ((Err = checkDyldCommand(*this, Load, I, "LC_DYLD_ENVIRONMENT")))
 1433       if ((Err = checkVersCommand(*this, Load, I, &VersLoadCmd,
 1437       if ((Err = checkVersCommand(*this, Load, I, &VersLoadCmd,
 1441       if ((Err = checkVersCommand(*this, Load, I, &VersLoadCmd,
 1445       if ((Err = checkVersCommand(*this, Load, I, &VersLoadCmd,
 1449       if ((Err = checkNoteCommand(*this, Load, I, Elements)))
 1452       if ((Err = parseBuildVersionCommand(*this, Load, BuildTools, I)))
 1455       if ((Err = checkRpathCommand(*this, Load, I)))
 1459         Err = malformedError("LC_SOURCE_VERSION command " + Twine(I) +
 1464         Err = malformedError("more than one LC_SOURCE_VERSION command");
 1470         Err = malformedError("LC_MAIN command " + Twine(I) +
 1475         Err = malformedError("more than one LC_MAIN command");
 1481         Err = malformedError("LC_ENCRYPTION_INFO command " + Twine(I) +
 1487       if ((Err = checkEncryptCommand(*this, Load, I, E.cryptoff, E.cryptsize,
 1492         Err = malformedError("LC_ENCRYPTION_INFO_64 command " + Twine(I) +
 1498       if ((Err = checkEncryptCommand(*this, Load, I, E.cryptoff, E.cryptsize,
 1502       if ((Err = checkLinkerOptCommand(*this, Load, I)))
 1506         Err =  malformedError("load command " + Twine(I) +
 1512       if ((Err = checkSubCommand(*this, Load, I, "LC_SUB_FRAMEWORK",
 1519         Err =  malformedError("load command " + Twine(I) +
 1525       if ((Err = checkSubCommand(*this, Load, I, "LC_SUB_UMBRELLA",
 1532         Err =  malformedError("load command " + Twine(I) +
 1538       if ((Err = checkSubCommand(*this, Load, I, "LC_SUB_LIBRARY",
 1545         Err =  malformedError("load command " + Twine(I) +
 1551       if ((Err = checkSubCommand(*this, Load, I, "LC_SUB_CLIENT",
 1557         Err = malformedError("LC_ROUTINES command " + Twine(I) +
 1562         Err = malformedError("more than one LC_ROUTINES and or LC_ROUTINES_64 "
 1569         Err = malformedError("LC_ROUTINES_64 command " + Twine(I) +
 1574         Err = malformedError("more than one LC_ROUTINES_64 and or LC_ROUTINES "
 1580       if ((Err = checkThreadCommand(*this, Load, I, "LC_UNIXTHREAD")))
 1583         Err = malformedError("more than one LC_UNIXTHREAD command");
 1588       if ((Err = checkThreadCommand(*this, Load, I, "LC_THREAD")))
 1592        if ((Err = checkTwoLevelHintsCommand(*this, Load, I,
 1596       Err = malformedError("load command " + Twine(I) + " for cmd value of: " +
 1608         Err = LoadOrErr.takeError();
 1615       Err = malformedError("contains LC_DYSYMTAB load command without a "
 1625       Err = malformedError("ilocalsym in LC_DYSYMTAB load command "
 1632       Err = malformedError("ilocalsym plus nlocalsym in LC_DYSYMTAB load "
 1637       Err = malformedError("iextdefsym in LC_DYSYMTAB load command "
 1644       Err = malformedError("iextdefsym plus nextdefsym in LC_DYSYMTAB "
 1650       Err = malformedError("iundefsym in LC_DYSYMTAB load command "
 1657       Err = malformedError("iundefsym plus nundefsym in LC_DYSYMTAB load "
 1665     Err = malformedError("no LC_ID_DYLIB load command in dynamic library "
 1671   Err = Error::success();
 2860     *E = malformedError("export info size " + Twine(error) +
 2869     *E = malformedError(
 2880       *E = malformedError("flags " + Twine(error) +
 2891       *E = malformedError(
 2902         *E = malformedError("dylib ordinal of re-export " + Twine(error) +
 2910           *E = malformedError(
 2924           *E = malformedError("import name of re-export in export trie data at "
 2934           *E = malformedError("import name of re-export in export trie data at "
 2946         *E = malformedError("address " + Twine(error) +
 2955           *E = malformedError("resolver of stub and resolver " + Twine(error) +
 2964       *E = malformedError(
 2975     *E = malformedError("byte for count of childern in export trie data at "
 2999       *E = malformedError("edge sub-string in export trie data at node: 0x" +
 3009       *E = malformedError("child node offset " + Twine(error) +
 3017         *E = malformedError("loop in childern in export trie data at node: 0x" +
 3031     *E = malformedError("node is not an export node in export trie data at "
 3057     *E = malformedError("node is not an export node in export trie data at "
 3152         *E = malformedError("for REBASE_OPCODE_SET_TYPE_IMM bad bind type: " +
 3167         *E = malformedError("for REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3176         *E = malformedError("for REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3192         *E = malformedError("for REBASE_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3201         *E = malformedError("for REBASE_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3216         *E = malformedError("for REBASE_OPCODE_ADD_ADDR_IMM_SCALED " +
 3226         *E =
 3250         *E = malformedError("for REBASE_OPCODE_DO_REBASE_IMM_TIMES " +
 3269         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES " +
 3282         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES " +
 3299         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB " +
 3311         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB " +
 3328         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_"
 3341         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_"
 3353         *E = malformedError("for REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_"
 3369       *E = malformedError("bad rebase info (bad opcode value 0x" +
 3512         *E = malformedError("BIND_OPCODE_SET_DYLIB_ORDINAL_IMM not allowed in "
 3521         *E = malformedError("for BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB bad "
 3537         *E = malformedError("BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB not allowed in "
 3546         *E = malformedError("for BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB " +
 3553         *E = malformedError("for BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB bad "
 3569         *E = malformedError("BIND_OPCODE_SET_DYLIB_SPECIAL_IMM not allowed in "
 3579           *E = malformedError("for BIND_OPCODE_SET_DYLIB_SPECIAL_IMM unknown "
 3601         *E = malformedError(
 3623         *E = malformedError("for BIND_OPCODE_SET_TYPE_IMM bad bind type: " +
 3637         *E = malformedError("for BIND_OPCODE_SET_ADDEND_SLEB " + Twine(error) +
 3652         *E = malformedError("for BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3661         *E = malformedError("for BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB " +
 3677         *E = malformedError("for BIND_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3686         *E = malformedError("for BIND_OPCODE_ADD_ADDR_ULEB " + Twine(error) +
 3703         *E = malformedError("for BIND_OPCODE_DO_BIND " + Twine(error) +
 3710         *E = malformedError(
 3718         *E =
 3732         *E = malformedError("BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB not allowed in "
 3741         *E = malformedError("for BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB " +
 3748         *E = malformedError(
 3757         *E = malformedError(
 3766         *E = malformedError("for BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB " +
 3778         *E = malformedError("for BIND_OPCODE_ADD_ADDR_ULEB (after adding "
 3796         *E = malformedError("BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED not "
 3805         *E = malformedError("for BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED " +
 3812         *E = malformedError(
 3821         *E = malformedError(
 3834         *E =
 3849         *E = malformedError("BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB not "
 3861         *E = malformedError("for BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB "
 3871         *E = malformedError("for BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB "
 3879         *E = malformedError(
 3888         *E = malformedError(
 3899         *E =
 3915       *E = malformedError("bad bind info (bad opcode value 0x" +
lib/Object/MachOUniversal.cpp
  117     Err = make_error<GenericBinaryError>("File too small to be a Mach-O "
  129     Err = malformedError("contains zero architecture types");
  138     Err = malformedError("bad magic number");
  142     Err = malformedError("fat_arch" +
  152       Err = malformedError("offset plus size of cputype (" +
  160       Err = malformedError("align (2^" + Twine(A.getAlign()) +
  168       Err = malformedError("offset: " + Twine(A.getOffset()) +
  175       Err =  malformedError("cputype (" + Twine(A.getCPUType()) + ") "
  188         Err = malformedError("contains two of the same architecture (cputype "
  199         Err =  malformedError("cputype (" + Twine(A.getCPUType()) + ") "
  210   Err = Error::success();
lib/Object/TapiUniversal.cpp
   28     Err = Result.takeError();
lib/Object/WasmObjectFile.cpp
  252     Err =
  263     Err = make_error<StringError>("Missing version number",
  270     Err = make_error<StringError>("Bad version number",
  278     if ((Err = readSection(Sec, Ctx, Checker)))
  280     if ((Err = parseSection(Sec)))
lib/ProfileData/Coverage/CoverageMapping.cpp
  326       E = handleMaybeNoDataFoundError(std::move(E));
lib/ProfileData/InstrProf.cpp
 1183   Ret = getProfileSum(TestFilename, Test);
lib/Support/DataExtractor.cpp
   20     *E = createStringError(errc::illegal_byte_sequence,
  188       *Err = createStringError(errc::illegal_byte_sequence, error);
lib/Support/FileCheck.cpp
   45       Err = joinErrors(std::move(Err), LeftOp.takeError());
   47       Err = joinErrors(std::move(Err), RightOp.takeError());
 1364   MatchErrors =
 1821       Errs = joinErrors(
 1838         Errs = joinErrors(std::move(Errs), ExpressionASTResult.takeError());
 1849         Errs = joinErrors(std::move(Errs), Value.takeError());
 1867         Errs = joinErrors(std::move(Errs), ParseVarResult.takeError());
 1874         Errs = joinErrors(std::move(Errs),
 1887         Errs = joinErrors(std::move(Errs), FileCheckErrorDiagnostic::get(
lib/XRay/LogBuilderConsumer.cpp
   32     Result = joinErrors(std::move(Result), R->apply(*V));
tools/bugpoint/ExecutionDriver.cpp
  419       E = joinErrors(
tools/clang/include/clang/Basic/DiagnosticError.h
   41     Err = llvm::handleErrors(std::move(Err), [&](DiagnosticError &E) {
tools/clang/lib/AST/ASTImporter.cpp
 1684         ChildErrors =
 7773       ImportErrors =
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  987   Err = GenIndex(CDCtx);
  992     Err = CopyFile(FilePath, CDCtx.OutDirectory);
  997     Err = CopyFile(FilePath, CDCtx.OutDirectory);
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  329   Err = G->get()->createResources(CDCtx);
tools/clang/unittests/Tooling/RefactoringTest.cpp
  151   Err = Replaces.add(OverlappingReplacement);
  157   Err = Replaces.add(Replacement(ContainedReplacement));
  163   Err = Replaces.add(WrongPathReplacement);
  178   Err = Replaces.add(Replacement("x.cc", 0, 2, ""));
  181   Err = Replaces.add(Replacement("x.cc", 2, 2, ""));
  193   Err = Replaces.add(Replacement("x.cc", 2, 3, "543"));
  200   Err = Replaces.add(Replacement("x.cc", 2, 1, "5"));
  213   Err = Replaces.add(Replacement("x.cc", 10, 0, "insert"));
  220   Err = Replaces.add(Replacement("x.cc", 10, 0, "insert"));
  223   Err = Replaces.add(Replacement("x.cc", 10, 3, "replace"));
  236   Err = Replaces.add(Replacement("x.cc", 5, 3, ""));
  240   Err = Replaces.add(Replacement("x.cc", 0, 10, ""));
  244   Err = Replaces.add(Replacement("x.cc", 5, 5, ""));
  258   Err = Replaces.add(Replacement("x.cc", 5, 5, ""));
  263   Err = Replaces.add(After);
  268   Err = Replaces.add(ContainingReplacement);
  285   Err = Replaces.add(Replacement("x.cc", 5, 5, ""));
  290   Err = Replaces.add(Deletion);
  305   Err = Replaces.add(Replacement("x.cc", 0, 5, ""));
  312   Err = Replaces.add(Replacement("x.cc", 1, 5, ""));
  327   Err = Replaces.add(Second);
  331   Err = Replaces.add(Replacement("x.cc", 1, 10, ""));
  346   Err = Replaces.add(Replacement("x.cc", 10, 0, ""));
  353   Err = Replaces.add(OverlappingReplacement);
  358   Err = Replaces.add(Replacement("x.cc", 10, 0, ""));
  368   Err = Replaces.add(Replacement("x.cc", 10, 0, ""));
  374   Err = Replaces.add(Replacement("x.cc", 10, 0, ""));
  377   Err = Replaces.add(Replacement("x.cc", 10, 2, ""));
  389   Err = Replaces.add(ConflictInsertion);
  395   Err = Replaces.add(Replacement("x.cc", 10, 0, "a"));
  398   Err = Replaces.add(Replacement("x.cc", 10, 0, "aa"));
  405   Err = Replaces.add(Replacement("x.cc", 10, 0, ""));
  408   Err = Replaces.add(Replacement("x.cc", 10, 3, ""));
  411   Err = Replaces.add(Replacement("x.cc", 10, 0, ""));
  424   Err = Replaces.add(Replacement("x.cc", 8, 2, "a"));
  427   Err = Replaces.add(Replacement("x.cc", 10, 0, "b"));
  478   Err = Replaces.add(Replacement(Context.Sources, Context.getLocation(ID, 2, 1),
 1114   Err = Change.insert(Context.Sources, DefaultLoc.getLocWithOffset(10), "bb",
 1166   Err = ExpectedChange.insert(Context.Sources, DefaultLoc.getLocWithOffset(10),
 1206   Err = Change.replace(Context.Sources, DefaultLoc, 3, "ab");
 1230   Err = Change.insert(Context.Sources, DefaultLoc, "b", /*InsertAfter=*/false);
 1244   Err = Change.insert(Context.Sources, DefaultLoc, "b");
 1258   Err = Change.insert(Context.Sources, SourceLocation(), "a",
 1276   Err = Change.insert(Context.Sources, NewLoc, "b", /*InsertAfter=*/false);
 1290   Err = Change.insert(Context.Sources, SourceLocation(), "b");
 1630   Err = Changes.back().replace(Context.Sources, getLoc(35), 3, "");
 1632   Err = Changes.back().replace(Context.Sources, getLoc(51), 3, "");
 1634   Err = Changes.back().replace(Context.Sources, getLoc(56), 3, "");
 1636   Err = Changes.back().replace(Context.Sources, getLoc(72), 3, "");
 1638   Err = Changes.back().replace(Context.Sources, getLoc(97), 3, "");
 1640   Err = Changes.back().replace(Context.Sources, getLoc(118), 3, "");
 1657   Err = Changes.back().replace(Context.Sources, getLoc(23), 8, "");
 1659   Err = Changes.back().replace(Context.Sources, getLoc(36), 1, "");
 1661   Err = Changes.back().replace(Context.Sources, getLoc(45), 3, "");
 1663   Err = Changes.back().replace(Context.Sources, getLoc(53), 1, "");
 1665   Err = Changes.back().replace(Context.Sources, getLoc(56), 1, "");
 1681   Err = Changes.back().replace(Context.Sources, getLoc(23), 8, "");
 1683   Err = Changes.back().replace(Context.Sources, getLoc(36), 1, "");
 1685   Err = Changes.back().replace(Context.Sources, getLoc(45), 3, "");
 1687   Err = Changes.back().replace(Context.Sources, getLoc(53), 1, "");
 1689   Err = Changes.back().replace(Context.Sources, getLoc(56), 1, "");
 1709   Err = Changes.back().replace(Context.Sources, getLoc(4), 0, "b");
 1711   Err = Changes.back().replace(Context.Sources, getLoc(11), 0, "a");
 1713   Err = Changes.back().replace(Context.Sources, getLoc(11), 1, "");
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  279   ec = forEachLoadCommand(lcRange, lcCount, isBig, is64,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
 1348       ehFrameErr = processCIE(normalizedFile, file, handler, ehFrameSection,
 1351       ehFrameErr = processFDE(normalizedFile, file, handler, ehFrameSection,
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  150       error = loadDataForPDB(PDB_ReaderType::DIA,
tools/lldb/source/Symbol/TypeSystem.cpp
  227     error = llvm::make_error<llvm::StringError>(
  238       error = llvm::make_error<llvm::StringError>(
  255         error = llvm::make_error<llvm::StringError>(
  265       error = llvm::make_error<llvm::StringError>(
  278       error = llvm::make_error<llvm::StringError>(
  296     error = llvm::make_error<llvm::StringError>(
  307       error = llvm::make_error<llvm::StringError>(
  324         error = llvm::make_error<llvm::StringError>(
  334       error = llvm::make_error<llvm::StringError>(
  347       error = llvm::make_error<llvm::StringError>(
tools/lldb/source/Target/Target.cpp
 2428     error = llvm::make_error<llvm::StringError>("No primary executable found",
 2435     error = llvm::make_error<llvm::StringError>(
tools/lldb/source/Utility/Status.cpp
   66   error = llvm::handleErrors(
tools/llvm-elfabi/ErrorCollector.cpp
   35     JoinedErrors = joinErrors(std::move(JoinedErrors), std::move(E));
tools/llvm-jitlink/llvm-jitlink.cpp
  338       Err = make_error<StringError>("Page size is not a power of 2",
  355       Err = errorCodeToError(EC);
tools/llvm-profdata/llvm-profdata.cpp
  109   E = handleErrors(std::move(E),
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
   89     Recoverable = joinErrors(std::move(Recoverable), std::move(Err));
   92     Unrecoverable = joinErrors(std::move(Unrecoverable), std::move(Err));
  268   Recoverable = Error::success();
  281   Recoverable = Error::success();
  288   Recoverable = Error::success();
  629   Unrecoverable = Error::success();
unittests/DebugInfo/GSYM/GSYMTest.cpp
 1086   finalizeErr = GC.finalize(OS);
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
   46     Err = std::move(Err2);
unittests/ExecutionEngine/Orc/QueueChannel.h
  115           Err = InQueue->checkReadError();
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
   90           Err = make_error<DummyError>(Val);
unittests/Support/ErrorTest.cpp
  120   Err = Error::success();