Home
last modified time | relevance | path

Searched refs:HasError (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorOr.h78 : HasError(true) { in HasError() function
89 : HasError(false) { in HasError() function
141 if (!HasError) in ~ErrorOr()
147 return !HasError;
172 if (!Other.HasError) { in copyConstruct()
174 HasError = false; in copyConstruct()
178 HasError = true; in copyConstruct()
204 if (!Other.HasError) { in moveConstruct()
206 HasError = false; in moveConstruct()
210 HasError = true; in moveConstruct()
[all …]
H A DError.h495 : HasError(true) in Expected()
515 : HasError(false) in HasError() function
555 if (!HasError) in ~Expected()
564 Unchecked = HasError;
566 return !HasError;
633 HasError = Other.HasError; in moveConstruct()
639 if (!HasError) in moveConstruct()
674 assert(HasError && "Cannot get error when a value exists!"); in getErrorStorage()
679 assert(HasError && "Cannot get error when a value exists!"); in getErrorStorage()
695 if (HasError) { in fatalUncheckedExpected()
[all …]
H A DBinaryStreamArray.h196 assert(Array && !HasError);
201 assert(Array && !HasError);
240 HasError = true; in markError()
251 bool HasError{false};
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Derror.h204 Expected(Error Err) : HasError(true), Unchecked(true) { in Expected()
213 : HasError(false), Unchecked(true) { in HasError() function
247 if (!HasError) in ~Expected()
256 Unchecked = HasError;
257 return !HasError;
315 HasError = Other.HasError; in moveConstruct()
319 if (!HasError) in moveConstruct()
344 assert(!HasError && "Cannot get value when an error exists!"); in getStorage()
354 assert(HasError && "Cannot get error when a value exists!"); in getErrorStorage()
359 assert(HasError && "Cannot get error when a value exists!"); in getErrorStorage()
[all …]
H A Dsimple_packed_serialization.h426 bool HasError = false; member
448 if (BSE.HasError) in fromSPSSerializable()
476 size_t Size = SPSArgList<bool>::size(BSE.HasError); in size()
477 if (BSE.HasError) in size()
484 if (!SPSArgList<bool>::serialize(OB, BSE.HasError)) in serialize()
486 if (BSE.HasError) in serialize()
494 if (!SPSArgList<bool>::deserialize(IB, BSE.HasError)) in deserialize()
497 if (!BSE.HasError) in deserialize()
548 assert(BSE.HasError && "Cannot serialize expected from a success value"); in size()
555 assert(BSE.HasError && "Cannot serialize expected from a success value"); in serialize()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimplePackedSerialization.h402 bool HasError = false; member
424 if (BSE.HasError) in fromSPSSerializable()
452 size_t Size = SPSArgList<bool>::size(BSE.HasError); in size()
453 if (BSE.HasError) in size()
460 if (!SPSArgList<bool>::serialize(OB, BSE.HasError)) in serialize()
462 if (BSE.HasError) in serialize()
470 if (!SPSArgList<bool>::deserialize(IB, BSE.HasError)) in deserialize()
473 if (!BSE.HasError) in deserialize()
524 assert(BSE.HasError && "Cannot serialize expected from a success value"); in size()
531 assert(BSE.HasError && "Cannot serialize expected from a success value"); in serialize()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp291 bool *HasError; member
292 LLCDiagnosticHandler(bool *HasErrorPtr) : HasError(HasErrorPtr) {} in LLCDiagnosticHandler()
299 *HasError = true; in handleDiagnostics()
311 *HasError = true; in handleDiagnostics()
372 bool HasError = false; in main() local
374 std::make_unique<LLCDiagnosticHandler>(&HasError)); in main()
691 auto HasError = in compileModule() local
692 ((const LLCDiagnosticHandler *)(Context.getDiagHandlerPtr()))->HasError; in compileModule()
693 if (*HasError) in compileModule()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h81 HasError = 1U << 0, enumerator
125 return (Flags & HasError) == HasError; in hasError()
277 : Err(std::move(Err)), Flags(JITSymbolFlags::HasError) {} in JITSymbol()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h317 bool HasError; variable
452 ProcessAllSections(false), HasError(false) { in RuntimeDyldImpl()
558 bool hasError() { return HasError; } in hasError()
561 void clearError() { HasError = false; } in clearError()
H A DRuntimeDyldCOFF.cpp70 HasError = true; in loadObject()
H A DRuntimeDyldMachO.cpp375 HasError = true; in loadObject()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFGdbIndex.cpp99 if (HasError) { in dump()
198 HasError = HasContent && !parseImpl(Data); in parse()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp215 bool HasError = false; in parseOptions() local
219 HasError = true; in parseOptions()
221 if (HasError) in parseOptions()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFGdbIndex.h77 bool HasError = false; variable
/freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp404 bool HasError = false; in main_gdbserver() local
408 HasError = true; in main_gdbserver()
414 if (HasError) { in main_gdbserver()
/freebsd-13.1/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp2054 if (!HasError) { in printMatch()
2056 return ErrorReported::reportedOrSuccess(HasError); in printMatch()
2058 return ErrorReported::reportedOrSuccess(HasError); in printMatch()
2078 return ErrorReported::reportedOrSuccess(HasError); in printMatch()
2109 return ErrorReported::reportedOrSuccess(HasError); in printMatch()
2121 bool HasError = ExpectedMatch; in printNoMatch() local
2130 HasError = HasPatternError = true; in printNoMatch()
2141 if (!HasError) { in printNoMatch()
2143 return ErrorReported::reportedOrSuccess(HasError); in printNoMatch()
2168 return ErrorReported::reportedOrSuccess(HasError); in printNoMatch()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp123 bool HasError = false; in HasDuplicateClauses() local
130 HasError = true; in HasDuplicateClauses()
133 return HasError; in HasDuplicateClauses()
H A DCodeGenDAGPatterns.h887 bool HasError; variable
961 return HasError; in hasError()
964 HasError = false; in resetError()
H A DCodeGenDAGPatterns.cpp2744 isInputPattern(isInput), HasError(false), in TreePattern()
2752 isInputPattern(isInput), HasError(false), in TreePattern()
2759 : TheRecord(TheRec), CDP(cdp), isInputPattern(isInput), HasError(false), in TreePattern()
2765 if (HasError) in error()
2769 HasError = true; in error()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp66 bool HasError = false; member in __anondc05036f0111::WasmWriter
128 HasError = true; in reportError()
648 if (HasError) in writeWasm()
H A DELFEmitter.cpp207 bool HasError = false; member in __anon95a0134e0111::ELFState
1136 HasError = true; in reportError()
1830 if (HasError) in buildSectionIndex()
1918 if (State.HasError) in writeELF()
1931 if (State.HasError) in writeELF()
1965 if (State.HasError) in writeELF()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.cpp1846 bool HasError = false; in parseBracedList() local
1894 return !HasError; in parseBracedList()
1944 HasError = true; in parseBracedList()
1946 return !HasError; in parseBracedList()
2589 bool HasError = !parseBracedList(/*ContinueOnSemicolons=*/true, in parseEnum() local
2593 if (HasError) { in parseEnum()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp2104 bool HasError = false; in CheckSVEBuiltinFunctionCall() local
2133 HasError = true; in CheckSVEBuiltinFunctionCall()
2137 HasError = true; in CheckSVEBuiltinFunctionCall()
2141 HasError = true; in CheckSVEBuiltinFunctionCall()
2145 HasError = true; in CheckSVEBuiltinFunctionCall()
2150 HasError = true; in CheckSVEBuiltinFunctionCall()
2154 HasError = true; in CheckSVEBuiltinFunctionCall()
2159 HasError = true; in CheckSVEBuiltinFunctionCall()
2164 HasError = true; in CheckSVEBuiltinFunctionCall()
2169 HasError = true; in CheckSVEBuiltinFunctionCall()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCore.cpp894 JITSymbolFlags::HasError); in addDependencies()
1175 Sym.setFlags(Sym.getFlags() | JITSymbolFlags::HasError); in failSymbols()
1195 JITSymbolFlags::HasError); in failSymbols()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3676 bool HasError = false; in ParseAvailabilityCheckExpr() local
3680 HasError = true; in ParseAvailabilityCheckExpr()
3688 if (HasError) { in ParseAvailabilityCheckExpr()

12