|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
include/llvm/Support/Error.h 344 class ErrorInfo : public ParentErrT {
tools/llvm-exegesis/lib/Error.h 20 class Failure : public StringError {
tools/llvm-exegesis/lib/SnippetGenerator.h 45 class SnippetGeneratorFailure : public StringError {
References
examples/LLJITExamples/ExampleModules.h 48 return make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode());
examples/SpeculativeJIT/SpeculativeJIT.cpp 62 return make_error<StringError>("No indirect stubs manager for target",
include/llvm/DebugInfo/CodeView/CodeViewError.h 43 class CodeViewError : public ErrorInfo<CodeViewError, StringError> {
include/llvm/DebugInfo/MSF/MSFError.h 43 class MSFError : public ErrorInfo<MSFError, StringError> {
include/llvm/DebugInfo/PDB/GenericError.h 43 class PDBError : public ErrorInfo<PDBError, StringError> {
include/llvm/DebugInfo/PDB/Native/RawError.h 50 class RawError : public ErrorInfo<RawError, StringError> {
include/llvm/ExecutionEngine/Orc/RPCSerialization.h 362 Serializers[ErrorInfoT::classID()] =
415 return serialize(C, make_error<StringError>(std::move(ErrMsg),
447 SerializationTraits<ChannelT, Error>::template registerErrorType<ErrorInfoT>(
458 registerErrorSerialization<ChannelT, StringError>(
469 make_error<StringError>(std::move(Msg),
643 return make_error<StringError>("Duplicate element in deserialized set",
691 return make_error<StringError>("Duplicate element in deserialized map",
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h 258 return make_error<StringError>(PFC->RTDyld->getErrorString(),
include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h 178 ReportError(make_error<StringError>(
include/llvm/Object/ELF.h 48 return make_error<StringError>(Err, object_error::parse_failed);
include/llvm/Object/ELFTypes.h 637 *Err = make_error<StringError>("ELF note overflows container",
include/llvm/Support/Error.h 83 return isA(ErrorInfoT::classID());
242 return getPtr() && getPtr()->isA(ErrT::classID());
331 return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
344 class ErrorInfo : public ParentErrT {
348 static const void *classID() { return &ThisErrT::ID; }
350 const void *dynamicClassID() const override { return &ThisErrT::ID; }
545 return HasError && (*getErrorStorage())->template isA<ErrT>();
804 return E.template isA<ErrT>();
856 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {};
866 : public ErrorHandlerTraits<RetT (&)(ErrT &)> {};
1174 class StringError : public ErrorInfo<StringError> {
1202 return make_error<StringError>(Stream.str(), EC);
include/llvm/Support/MSVCErrorWorkarounds.h 46 : Expected<T>(make_error<StringError>("", inconvertibleErrorCode())) {
include/llvm/Testing/Support/Error.h 87 explicit ErrorMatchesMono(Optional<testing::Matcher<InfoT &>> Matcher)
101 if (!Info.isA<InfoT>()) {
129 Optional<testing::Matcher<InfoT &>> Matcher;
148 return MakeMatcher(new detail::ErrorMatchesMono<InfoT>(None));
153 return MakeMatcher(new detail::ErrorMatchesMono<InfoT>(
154 testing::SafeMatcherCast<InfoT &>(Matcher)));
include/llvm/XRay/Graph.h 401 return make_error<StringError>(
410 return make_error<StringError>(
420 return make_error<StringError>(
429 return make_error<StringError>(
lib/BinaryFormat/MsgPackReader.cpp 73 return make_error<StringError>(
82 return make_error<StringError>(
177 return make_error<StringError>(
183 return make_error<StringError>(
193 return make_error<StringError>(
203 return make_error<StringError>(
213 return make_error<StringError>(
223 return make_error<StringError>(
233 return make_error<StringError>(
243 return make_error<StringError>(
248 return make_error<StringError>(
lib/Bitcode/Reader/BitcodeReader.cpp 104 return make_error<StringError>(
lib/Bitcode/Reader/MetadataLoader.cpp 417 return make_error<StringError>(
lib/DebugInfo/DWARF/DWARFContext.cpp 1274 return make_error<StringError>(Reason + toString(std::move(E)),
lib/DebugInfo/PDB/Native/TpiHashing.cpp 101 return make_error<StringError>("Invalid record type",
lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp 77 return make_error<StringError>("Page size is not a power of 2",
91 return make_error<StringError>("Cannot request higher than page "
lib/ExecutionEngine/Orc/ExecutionUtils.cpp 188 return make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode());
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 98 make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode()));
120 return make_error<StringError>(
lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp 49 return make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode());
55 return make_error<StringError>("Could not allocate target machine",
lib/ExecutionEngine/Orc/LLJIT.cpp 157 return make_error<StringError>(
221 Err = make_error<StringError>("Could not construct "
lib/ExecutionEngine/Orc/LazyReexports.cpp 88 return make_error<StringError>(
lib/ExecutionEngine/Orc/OrcCBindingsStack.h 339 return make_error<StringError>("Can not add lazy module: No compile "
lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp 98 OnResolved(make_error<StringError>("Symbol not found: " + Symbol,
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 1216 OnEmitted(make_error<StringError>(std::move(ErrMsg),
1422 OnEmitted(make_error<StringError>(RTDyld.getErrorString(),
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h 48 return make_error<StringError>(std::move(ErrMsg),
60 return make_error<StringError>(std::move(ErrMsg),
311 return make_error<StringError>("ARM64_RELOC_POINTER_TO_GOT supports "
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h 84 return make_error<StringError>("Unrecognized thumb branch encoding "
90 return make_error<StringError>("Unrecognized thumb branch encoding "
lib/LTO/LTO.cpp 846 return make_error<StringError>(
873 return make_error<StringError>(
889 return make_error<StringError>(
lib/LTO/LTOBackend.cpp 410 return make_error<StringError>(Msg, inconvertibleErrorCode());
lib/Linker/IRMover.cpp 435 return make_error<StringError>(T, inconvertibleErrorCode());
lib/MC/MCDwarf.cpp 596 return make_error<StringError>("file number already allocated",
601 return make_error<StringError>("inconsistent use of embedded source",
lib/Object/COFFImportFile.cpp 121 return make_error<StringError>(
lib/Object/COFFModuleDefinition.cpp 84 return make_error<StringError>(StringRef(Err.str()),
lib/Object/IRSymtab.cpp 119 return make_error<StringError>("input module has no datalayout",
173 return make_error<StringError>("Could not find leader",
274 return make_error<StringError>("Unable to determine comdat of alias!",
291 return make_error<StringError>("Invalid weak external",
379 return make_error<StringError>("Bitcode file does not contain any modules",
lib/Object/WasmObjectFile.cpp 218 return make_error<StringError>("Zero length section",
221 return make_error<StringError>("Section too large",
237 return make_error<StringError>("Out of order section type: " +
253 make_error<StringError>("Bad magic number", object_error::parse_failed);
263 Err = make_error<StringError>("Missing version number",
270 Err = make_error<StringError>("Bad version number",
lib/Passes/PassBuilder.cpp 1470 return make_error<StringError>(
1489 return make_error<StringError>(
1509 return make_error<StringError>(
1516 return make_error<StringError>(
1544 return make_error<StringError>(
1551 return make_error<StringError>(
1572 return make_error<StringError>(
1590 return make_error<StringError>(
1609 return make_error<StringError>(
1853 return make_error<StringError>(
1863 return make_error<StringError>(
1928 return make_error<StringError>(
1982 return make_error<StringError>(
2011 return make_error<StringError>(
2058 return make_error<StringError>(
2094 return make_error<StringError>(
2129 return make_error<StringError>(
2166 return make_error<StringError>(formatv("unknown loop pass '{0}'", Name).str(),
2263 return make_error<StringError>(
2286 return make_error<StringError>(
2306 return make_error<StringError>(
2312 return make_error<StringError>(
2331 return make_error<StringError>(
2337 return make_error<StringError>(
2355 return make_error<StringError>(
2378 return make_error<StringError>(
lib/Passes/PassPlugin.cpp 21 return make_error<StringError>(Twine("Could not load library '") +
32 return make_error<StringError>(Twine("Plugin entry point not found in '") +
39 return make_error<StringError>(
46 return make_error<StringError>(Twine("Empty entry callback in plugin '") +
lib/Support/CachePruning.cpp 53 return make_error<StringError>("Duration must not be empty",
59 return make_error<StringError>("'" + NumStr + "' not an integer",
70 return make_error<StringError>("'" + Duration +
97 return make_error<StringError>("'" + Value + "' must be a percentage",
102 return make_error<StringError>("'" + SizeStr + "' not an integer",
105 return make_error<StringError>("'" + SizeStr +
127 return make_error<StringError>("'" + Value + "' not an integer",
132 return make_error<StringError>("'" + Value + "' not an integer",
135 return make_error<StringError>("Unknown key: '" + Key + "'",
lib/Support/Error.cpp 136 return make_error<StringError>(Msg, EC);
168 return reinterpret_cast<void *>(&StringError::ID);
lib/Support/GlobPattern.cpp 49 return make_error<StringError>("invalid glob pattern: " + Original,
82 return make_error<StringError>("invalid glob pattern: " + Original,
lib/Support/TarWriter.cpp 165 return make_error<StringError>("cannot open " + OutputPath, EC);
lib/TextAPI/MachO/TextStub.cpp 1123 return make_error<StringError>(Ctx.ErrorMessage, YAMLIn.error());
lib/XRay/InstrumentationMap.cpp 63 return make_error<StringError>(
78 return make_error<StringError>(
117 return make_error<StringError>(
185 return make_error<StringError>(
192 return make_error<StringError>(
lib/XRay/Profile.cpp 57 return make_error<StringError>(
64 return make_error<StringError>(
71 return make_error<StringError>(
87 return make_error<StringError>(
105 return make_error<StringError>(
112 return make_error<StringError>(
123 return make_error<StringError>(
134 return make_error<StringError>(
269 return make_error<StringError>(
278 return make_error<StringError>(
lib/XRay/Trace.cpp 40 return make_error<StringError>(
45 return make_error<StringError>(
356 return make_error<StringError>("Failed loading YAML Data.", In.error());
365 return make_error<StringError>(
387 return make_error<StringError>(
391 return make_error<StringError>(
403 return make_error<StringError>(
448 return make_error<StringError>(
460 return make_error<StringError>(
tools/bugpoint/ExecutionDriver.cpp 263 return make_error<StringError>("Failed to init execution environment",
421 make_error<StringError>(
tools/bugpoint/Miscompilation.cpp 741 return make_error<StringError>(
tools/bugpoint/ToolRunner.cpp 137 return make_error<StringError>(OS.str(), inconvertibleErrorCode());
258 return make_error<StringError>(
tools/bugpoint/ToolRunner.h 125 return make_error<StringError>(
tools/clang/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h 43 handleError(llvm::make_error<llvm::StringError>(
tools/clang/include/clang/Tooling/Transformer/MatchConsumer.h 40 return llvm::make_error<llvm::StringError>(llvm::errc::invalid_argument,
tools/clang/lib/CodeGen/BackendUtil.cpp 1349 return make_error<StringError>("Could not find module summary",
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp 333 return llvm::make_error<llvm::StringError>(
346 return llvm::make_error<llvm::StringError>(
353 return llvm::make_error<llvm::StringError>(
tools/clang/lib/Driver/DarwinSDKInfo.cpp 41 return llvm::make_error<llvm::StringError>("invalid SDKSettings.json",
tools/clang/lib/Format/Format.cpp 622 return llvm::make_error<llvm::StringError>(Message,
tools/clang/lib/Frontend/ASTUnit.cpp 2310 return serialize(Out) ? llvm::make_error<llvm::StringError>(
tools/clang/lib/Tooling/AllTUsExecution.cpp 22 return llvm::make_error<llvm::StringError>(Message,
tools/clang/lib/Tooling/CommonOptionsParser.cpp 118 return llvm::make_error<llvm::StringError>("[CommonOptionsParser]: " +
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp 180 return llvm::make_error<llvm::StringError>(DiagnosticsOS.str(),
tools/clang/lib/Tooling/Execution.cpp 76 return llvm::make_error<llvm::StringError>(
83 return llvm::make_error<llvm::StringError>(
tools/clang/lib/Tooling/Refactoring/AtomicChange.cpp 138 return llvm::make_error<llvm::StringError>(Message,
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp 97 return llvm::make_error<llvm::StringError>("Could not find symbol " +
tools/clang/lib/Tooling/RefactoringCallbacks.cpp 170 return make_error<StringError>(
181 return make_error<StringError>(
tools/clang/lib/Tooling/StandaloneExecution.cpp 16 return llvm::make_error<llvm::StringError>(Message,
tools/clang/lib/Tooling/Transformer/RangeSelector.cpp 34 return llvm::make_error<StringError>(llvm::errc::invalid_argument, Message);
tools/clang/lib/Tooling/Transformer/Stencil.cpp 39 return llvm::make_error<llvm::StringError>(llvm::errc::invalid_argument,
169 return llvm::make_error<StringError>(
184 return llvm::make_error<StringError>(
204 return llvm::make_error<StringError>(errc::invalid_argument,
213 return llvm::make_error<StringError>(
tools/clang/tools/clang-import-test/clang-import-test.cpp 289 return llvm::make_error<llvm::StringError>(
333 return llvm::make_error<llvm::StringError>(
tools/clang/tools/clang-refactor/ClangRefactor.cpp 562 return llvm::make_error<llvm::StringError>(
566 return llvm::make_error<llvm::StringError>(
593 return llvm::make_error<llvm::StringError>(
tools/clang/tools/extra/clangd/DraftStore.cpp 48 return llvm::make_error<llvm::StringError>(
73 return llvm::make_error<llvm::StringError>(
90 return llvm::make_error<llvm::StringError>(
tools/clang/tools/extra/clangd/FindSymbols.cpp 48 return llvm::make_error<llvm::StringError>(
tools/clang/tools/extra/clangd/JSONTransport.cpp 38 return llvm::make_error<llvm::StringError>(std::move(Msg),
tools/clang/tools/extra/clangd/SourceCode.cpp 157 return llvm::make_error<llvm::StringError>(
161 return llvm::make_error<llvm::StringError>(
168 return llvm::make_error<llvm::StringError>(
180 return llvm::make_error<llvm::StringError>(
tools/clang/tools/extra/clangd/TUScheduler.cpp 553 return Action(llvm::make_error<llvm::StringError>(
tools/clang/tools/extra/clangd/URI.cpp 25 return llvm::make_error<llvm::StringError>(Message,
tools/clang/tools/extra/clangd/index/Serialization.cpp 29 return llvm::make_error<llvm::StringError>(Msg,
tools/clang/tools/extra/clangd/refactor/Rename.cpp 135 return llvm::make_error<llvm::StringError>(
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp 390 return llvm::make_error<llvm::StringError>(
404 return llvm::make_error<llvm::StringError>(
tools/clang/tools/extra/clangd/unittests/TestFS.cpp 103 return llvm::make_error<llvm::StringError>(
107 return llvm::make_error<llvm::StringError>(
119 return llvm::make_error<llvm::StringError>(
tools/clang/unittests/Tooling/RangeSelectorTest.cpp 76 testing::Matcher<StringError> withUnboundNodeMessage() {
78 &StringError::getMessage,
111 testing::Matcher<StringError> withTypeErrorMessage(StringRef NodeID) {
113 &StringError::getMessage,
tools/clang/unittests/Tooling/RefactoringActionRulesTest.cpp 157 return llvm::make_error<llvm::StringError>(
tools/dsymutil/DwarfLinker.cpp 2312 return make_error<StringError>(Err, inconvertibleErrorCode());
2514 return make_error<StringError>(
tools/dsymutil/dsymutil.cpp 126 return make_error<StringError>(
152 return make_error<StringError>("no input files specified",
164 return make_error<StringError>(
170 return make_error<StringError>(
176 return make_error<StringError>(
181 return make_error<StringError>(
197 return make_error<StringError>(
282 return make_error<StringError>(
343 return make_error<StringError>(
tools/lldb/include/lldb/Target/Process.h 686 return llvm::make_error<llvm::StringError>("Not implemented.",
tools/lldb/source/Commands/CommandObjectReproducer.cpp 302 make_error<StringError>(llvm::inconvertibleErrorCode(),
tools/lldb/source/Interpreter/Options.cpp 978 return llvm::make_error<llvm::StringError>("Invalid long options",
1004 return llvm::make_error<llvm::StringError>(
1027 return llvm::make_error<llvm::StringError>(
1042 return llvm::make_error<llvm::StringError>(
1055 return llvm::make_error<llvm::StringError>(
1295 return llvm::make_error<llvm::StringError>("Invalid long options.",
1356 return llvm::make_error<llvm::StringError>(
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp 501 return llvm::make_error<llvm::StringError>(
507 return llvm::make_error<llvm::StringError>(
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp 237 return llvm::make_error<StringError>("Could not sync with inferior process",
244 return llvm::make_error<StringError>("Cannot get process architecture",
273 return llvm::make_error<StringError>("Cannot get process architecture",
370 return llvm::make_error<StringError>("No such process",
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp 452 return llvm::make_error<llvm::StringError>(
458 return llvm::make_error<llvm::StringError>(
507 return llvm::make_error<llvm::StringError>(
562 return llvm::make_error<llvm::StringError>(
619 return llvm::make_error<llvm::StringError>(
638 return llvm::make_error<llvm::StringError>(
644 return llvm::make_error<llvm::StringError>(
664 return llvm::make_error<llvm::StringError>(
670 return llvm::make_error<llvm::StringError>(
688 return llvm::make_error<llvm::StringError>(
694 return llvm::make_error<llvm::StringError>(
718 return llvm::make_error<llvm::StringError>(
750 return llvm::make_error<llvm::StringError>(
874 return llvm::make_error<llvm::StringError>(
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h 81 : public llvm::ErrorInfo<PacketUnimplementedError, llvm::StringError> {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 514 return llvm::make_error<llvm::StringError>(
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h 119 return llvm::make_error<llvm::StringError>(
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp 108 return llvm::make_error<llvm::StringError>(
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp 24 return llvm::make_error<llvm::StringError>("debug info null",
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 2120 return llvm::make_error<llvm::StringError>("Invalid Target",
2134 return llvm::make_error<llvm::StringError>(
2428 error = llvm::make_error<llvm::StringError>("No primary executable found",
2435 error = llvm::make_error<llvm::StringError>(
tools/lldb/source/Utility/RegularExpression.cpp 38 return llvm::make_error<llvm::StringError>(llvm::inconvertibleErrorCode(),
tools/lldb/source/Utility/Reproducer.cpp 34 return make_error<StringError>(
40 return make_error<StringError>("unable to create reproducer directory",
98 return make_error<StringError>(
115 return make_error<StringError>(
212 return make_error<StringError>("unable to load reproducer index", err);
217 return make_error<StringError>("unable to read reproducer index", err);
tools/lldb/source/Utility/Status.cpp 92 return llvm::make_error<llvm::StringError>(AsCString(),
tools/lldb/tools/lldb-test/lldb-test.cpp 280 return llvm::make_error<llvm::StringError>(
tools/lldb/unittests/Utility/StatusTest.cpp 34 Status foo(llvm::make_error<llvm::StringError>(
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.h 176 return llvm::make_error<llvm::StringError>(error,
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp 46 return make_error<StringError>("Sending initial ACK failed.",
130 return make_error<StringError>("Failed to set launch environment",
200 return make_error<StringError>(
260 return make_error<StringError>(
tools/lldb/unittests/tools/lldb-server/tests/TestClient.h 67 return llvm::make_error<llvm::StringError>(
tools/llvm-cfi-verify/lib/FileAnalysis.cpp 429 return make_error<StringError>("Could not create DWARF information.",
443 return make_error<StringError>(
tools/llvm-exegesis/lib/Clustering.cpp 109 return make_error<StringError>("inconsistent measurement dimensions",
114 return make_error<StringError>(
tools/llvm-exegesis/lib/Error.h 20 class Failure : public StringError {
tools/llvm-exegesis/lib/SnippetGenerator.h 45 class SnippetGeneratorFailure : public StringError {
tools/llvm-exegesis/llvm-exegesis.cpp 375 if (Err.isA<StringError>())
tools/llvm-jitlink/llvm-jitlink-macho.cpp 33 return make_error<StringError>("GOT entry in " + G.getName() + ", \"" +
46 return make_error<StringError>(
53 return make_error<StringError>(
67 return make_error<StringError>(
80 return make_error<StringError>("When -check is passed, file names must be "
102 return make_error<StringError>("Encountered duplicate section name \"" +
122 return make_error<StringError>("zero-fill atom in GOT section",
133 return make_error<StringError>("zero-fill atom in Stub section",
160 return make_error<StringError>("Mixed zero-fill and content sections not "
tools/llvm-jitlink/llvm-jitlink.cpp 292 return make_error<StringError>("Cannot request higher than page "
297 return make_error<StringError>("Page size is not a multiple of "
312 return make_error<StringError>("Slab allocator out of memory",
338 Err = make_error<StringError>("Page size is not a power of 2",
381 return make_error<StringError>("Invalid numeric format for slab size",
429 return make_error<StringError>("Unsupported object format for GOT/stub "
463 return make_error<StringError>("file \"" + FileName + "\" not recognized",
475 return make_error<StringError>("no section \"" + SectionName +
489 return make_error<StringError>("no stub for \"" + TargetName +
503 return make_error<StringError>("no GOT entry for \"" + TargetName +
518 return make_error<StringError>(ErrorMsgStem + ": symbol " + SymbolName +
552 return make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode());
570 return make_error<StringError>("\"" + Dylib + "\" is not a regular file",
574 return make_error<StringError>(ErrMsg, inconvertibleErrorCode());
643 return make_error<StringError>("Invalid absolute define \"" + AbsDefStmt +
651 return make_error<StringError>("Invalid address expression \"" + AddrStr +
679 ExitOnErr(make_error<StringError>("Error accessing target '" + TripleName +
687 make_error<StringError>("Unable to create subtarget for " + TripleName,
692 ExitOnErr(make_error<StringError>("Unable to create target register info "
701 ExitOnErr(make_error<StringError>("Unable to create target asm info " +
710 ExitOnErr(make_error<StringError>("Unable to create disassembler for " +
748 ExitOnErr(make_error<StringError>(
tools/llvm-mca/CodeRegionGenerator.cpp 127 return make_error<StringError>(
tools/llvm-pdbutil/BytesOutputStyle.cpp 95 return make_error<StringError>(
99 return make_error<StringError>(
112 return make_error<StringError>("Invalid byte range specified. Max < Min",
115 return make_error<StringError>(
tools/llvm-pdbutil/DumpOutputStyle.cpp 503 return make_error<StringError>(
511 return make_error<StringError>(
517 return make_error<StringError>("Could not load the required stream data",
522 return make_error<StringError>(
1395 return make_error<StringError>("Invalid CodeView debug section.",
tools/llvm-pdbutil/InputFile.cpp 257 return make_error<StringError>(formatv("File {0} not found", Path),
262 return make_error<StringError>(
287 return make_error<StringError>(
293 return make_error<StringError>(
tools/llvm-profdata/llvm-profdata.cpp 247 make_error<StringError>(
tools/llvm-rc/ResourceFileWriter.cpp 48 return make_error<StringError>(Message, std::make_error_code(Type));
1542 return make_error<StringError>("error : file not found : " + Twine(File),
tools/llvm-rc/ResourceScriptToken.cpp 79 return make_error<StringError>("Error parsing file: " + message,
tools/llvm-readobj/COFFDumper.cpp 64 return make_error<StringError>(Err, object_error::parse_failed);
tools/llvm-readobj/XCOFFDumper.cpp 460 reportWarning(make_error<StringError>("An 64-bit XCOFF object file may not "
tools/llvm-reduce/TestRunner.cpp 34 Error E = make_error<StringError>("Error running interesting-ness test: " +
tools/llvm-rtdyld/llvm-rtdyld.cpp 175 return make_error<StringError>("No file named " + FileName,
180 return make_error<StringError>("No section named \"" + SectionName +
235 ExitOnErr(make_error<StringError>("Could not find definition for \"" +
876 return make_error<StringError>("Stub container not found: " +
880 return make_error<StringError>("Symbol name " + SymbolName +
tools/llvm-xray/xray-account.cpp 415 return joinErrors(make_error<StringError>(
426 return make_error<StringError>(
437 make_error<StringError>(
465 return make_error<StringError>(
tools/llvm-xray/xray-converter.cpp 374 return joinErrors(make_error<StringError>(
393 return make_error<StringError>(
399 make_error<StringError>(
tools/llvm-xray/xray-extract.cpp 76 return joinErrors(make_error<StringError>(
85 return make_error<StringError>(
tools/llvm-xray/xray-graph-diff.cpp 449 return make_error<StringError>(
475 return make_error<StringError>(
tools/llvm-xray/xray-graph.cpp 198 return make_error<StringError>("Records not in order",
216 return make_error<StringError>("No matching ENTRY record",
222 return make_error<StringError>(
430 make_error<StringError>(
460 return joinErrors(make_error<StringError>(
498 return make_error<StringError>(
511 return make_error<StringError>(
tools/llvm-xray/xray-stacks.cpp 697 make_error<StringError>(
705 return make_error<StringError>(
711 return make_error<StringError>(
716 return make_error<StringError>(
731 make_error<StringError>(
745 return make_error<StringError>(
753 return make_error<StringError>(
tools/obj2yaml/elf2yaml.cpp 466 return make_error<StringError>(
unittests/ADT/FallibleIteratorTest.cpp 56 return make_error<StringError>("cant get next object in (mock) collection",
65 return make_error<StringError>("cant get prev object in (mock) collection",
98 return make_error<StringError>("bad item", inconvertibleErrorCode());
105 return make_error<StringError>("bad item", inconvertibleErrorCode());
unittests/DebugInfo/DWARF/DwarfGenerator.cpp 401 return make_error<StringError>(ErrorStr, inconvertibleErrorCode());
408 return make_error<StringError>(Twine("no register info for target ") +
415 return make_error<StringError>("no asm info for target " + TripleName,
420 return make_error<StringError>("no subtarget info for target " + TripleName,
425 return make_error<StringError>("no asm backend for target " + TripleName,
430 return make_error<StringError>("no instr info info for target " +
437 return make_error<StringError>("no target machine for target " + TripleName,
446 return make_error<StringError>("no code emitter for target " + TripleName,
457 return make_error<StringError>("no object streamer for target " +
465 return make_error<StringError>("no asm printer for target " + TripleName,
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp 57 return make_error<StringError>(ErrorMsg, inconvertibleErrorCode());
173 make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode()));
213 return make_error<StringError>("Could not disassemble instruction",
226 return make_error<StringError>("Invalid operand index",
232 return make_error<StringError>("Operand at index is not immediate",
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.h 146 return make_error<StringError>("Reading past end of block content",
159 return make_error<StringError>("Symbol \"" + SymbolName + "\" not found",
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp 74 make_error<StringError>("xyz", inconvertibleErrorCode()));
250 return make_error<StringError>("BadGenerator", inconvertibleErrorCode());
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp 192 return make_error<StringError>("AddObjectFailure - Test Message",
unittests/Support/ErrorTest.cpp 439 make_error<StringError>("foo" + Twine(42), inconvertibleErrorCode()), S);
443 errorToErrorCode(make_error<StringError>("", errc::invalid_argument));
846 wrap(make_error<StringError>("test message", inconvertibleErrorCode()));
930 class TestDebugError : public ErrorInfo<TestDebugError, StringError> {
unittests/Support/FormatVariadicTest.cpp 685 auto E1 = make_error<StringError>("X", inconvertibleErrorCode());
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp 348 return make_error<StringError>("not implemented", inconvertibleErrorCode());
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>
utils/TableGen/GlobalISelEmitter.cpp 300 return make_error<StringError>(Reason, inconvertibleErrorCode());
utils/unittest/googlemock/include/gmock/gmock-matchers.h 178 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
258 bool MatchAndExplain(T x, MatchResultListener* listener) const {
263 bool Matches(T x) const {
277 void ExplainMatchResultTo(T x, ::std::ostream* os) const {
293 explicit MatcherBase(const MatcherInterface<T>* impl)
310 ::testing::internal::linked_ptr<const MatcherInterface<T> > impl_;
321 class Matcher : public internal::MatcherBase<T> {
329 explicit Matcher(const MatcherInterface<T>* impl)
334 Matcher(T value); // NOLINT
445 operator Matcher<T>() const {
446 return Matcher<T>(new MonomorphicImpl<T>(impl_));
451 class MonomorphicImpl : public MatcherInterface<T> {
463 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
567 static Matcher<T> Cast(const Matcher<U>& source_matcher) {
574 explicit Impl(const Matcher<U>& source_matcher)
591 const Matcher<U> source_matcher_;
643 static inline Matcher<T> Cast(const Matcher<U>& matcher) {
2261 bool MatchAndExplain(const T&value, MatchResultListener* listener) const {
2272 bool MatchAndExplainImpl(false_type /* is_not_pointer */, const Class& obj,
2288 bool MatchAndExplainImpl(true_type /* is_pointer */, const Class* p,
3931 internal::PropertyMatcher<Class, PropertyType> > Property(
utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h 257 GMOCK_KIND_OF_(From), From, GMOCK_KIND_OF_(To), To> {}; // NOLINT
257 GMOCK_KIND_OF_(From), From, GMOCK_KIND_OF_(To), To> {}; // NOLINT
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 782 struct RemoveReference { typedef T type; }; // NOLINT
784 struct RemoveReference<T&> { typedef T type; }; // NOLINT
795 struct RemoveConst { typedef T type; }; // NOLINT
832 struct AddReference<T&> { typedef T& type; }; // NOLINT
875 static char Helper(To);