Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/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.h492 : HasError(true) in Expected()
512 : HasError(false) in HasError() function
552 if (!HasError) in ~Expected()
561 Unchecked = HasError;
563 return !HasError;
640 HasError = Other.HasError; in moveConstruct()
646 if (!HasError) in moveConstruct()
681 assert(HasError && "Cannot get error when a value exists!"); in getErrorStorage()
686 assert(HasError && "Cannot get error when a value exists!"); in getErrorStorage()
700 if (HasError) { in fatalUncheckedExpected()
[all …]
H A DBinaryStreamArray.h198 assert(Array && !HasError);
237 HasError = true; in markError()
248 bool HasError{false};
/llvm-project-15.0.7/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.h449 bool HasError = false; member
471 if (BSE.HasError) in fromSPSSerializable()
499 size_t Size = SPSArgList<bool>::size(BSE.HasError); in size()
500 if (BSE.HasError) in size()
507 if (!SPSArgList<bool>::serialize(OB, BSE.HasError)) in serialize()
509 if (BSE.HasError) in serialize()
517 if (!SPSArgList<bool>::deserialize(IB, BSE.HasError)) in deserialize()
520 if (!BSE.HasError) in deserialize()
571 assert(BSE.HasError && "Cannot serialize expected from a success value"); in size()
578 assert(BSE.HasError && "Cannot serialize expected from a success value"); in serialize()
/llvm-project-15.0.7/clang-tools-extra/test/modularize/
H A DProblemsDisplayLists.modularize3 # CHECK: {{.*}}{{[/\\]}}Inputs{{[/\\]}}CompileError{{[/\\]}}HasError.h:1:9: error: unknown type nam…
7 # CHECK: Inputs/CompileError/HasError.h
15 # CHECK: {{.*}}Inputs/CompileError/HasError.h
H A DProblemsCompileError.modularize3 # CHECK: {{.*}}{{[/\\]}}Inputs{{[/\\]}}CompileError{{[/\\]}}HasError.h:1:9: error: unknown type nam…
/llvm-project-15.0.7/clang-tools-extra/test/modularize/Inputs/CompileError/
H A Dmodule.modulemap7 module HasError {
8 header "HasError.h"
/llvm-project-15.0.7/llvm/test/ExecutionEngine/OrcLazy/
H A Dstatic-initializers-in-objectfiles.ll12 @HasError = global i8 1, align 1
17 store i8 0, i8* @HasError, align 1
23 %0 = load i8, i8* @HasError, align 1
/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx-ambig-init-templ.cpp113 …template<typename T> struct HasError { typename T::error error; }; // expected-error {{has no memb… argument
118 void f(int a = X<Y, HasError<int>::Z >()); // expected-note {{in instantiation of}}
122 template<typename> struct HasError { typedef int Z; }; struct
125 HasError<int> hei;
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimplePackedSerialization.h562 bool HasError = false; member
584 if (BSE.HasError) in fromSPSSerializable()
612 size_t Size = SPSArgList<bool>::size(BSE.HasError); in size()
613 if (BSE.HasError) in size()
620 if (!SPSArgList<bool>::serialize(OB, BSE.HasError)) in serialize()
622 if (BSE.HasError) in serialize()
630 if (!SPSArgList<bool>::deserialize(IB, BSE.HasError)) in deserialize()
633 if (!BSE.HasError) in deserialize()
684 assert(BSE.HasError && "Cannot serialize expected from a success value"); in size()
691 assert(BSE.HasError && "Cannot serialize expected from a success value"); in serialize()
/llvm-project-15.0.7/llvm/tools/llc/
H A Dllc.cpp307 bool *HasError; member
308 LLCDiagnosticHandler(bool *HasErrorPtr) : HasError(HasErrorPtr) {} in LLCDiagnosticHandler()
315 *HasError = true; in handleDiagnostics()
327 *HasError = true; in handleDiagnostics()
400 bool HasError = false; in main() local
402 std::make_unique<LLCDiagnosticHandler>(&HasError)); in main()
736 auto HasError = in compileModule() local
737 ((const LLCDiagnosticHandler *)(Context.getDiagHandlerPtr()))->HasError; in compileModule()
738 if (*HasError) in compileModule()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dsemantics.cpp138 if (context_.HasError(name.symbol)) { in CheckAssignGotoName()
320 bool SemanticsContext::HasError(const Symbol &symbol) { in HasError() function in Fortran::semantics::SemanticsContext
323 bool SemanticsContext::HasError(const Symbol *symbol) { in HasError() function in Fortran::semantics::SemanticsContext
324 return !symbol || HasError(*symbol); in HasError()
326 bool SemanticsContext::HasError(const parser::Name &name) { in HasError() function in Fortran::semantics::SemanticsContext
327 return HasError(name.symbol); in HasError()
H A Dcheck-deallocate.cpp24 if (context_.HasError(symbol)) { in Leave()
H A Dcheck-nullify.cpp30 if (context_.HasError(symbol)) { in Leave()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dms-iunknown-inline-def.cpp8 __interface HasError : public IUnknown {};
H A Dms-iunknown-outofline-def.cpp10 __interface HasError : public IUnknown {};
/llvm-project-15.0.7/clang/test/Modules/Inputs/PR28812/
H A DTextual.h8 bool HasError{};
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dsemantics.h154 bool HasError(const Symbol &);
155 bool HasError(const Symbol *);
156 bool HasError(const parser::Name &);
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFGdbIndex.cpp99 if (HasError) { in dump()
198 HasError = HasContent && !parseImpl(Data); in parse()
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp349 bool HasError = false; in main_gdbserver() local
353 HasError = true; in main_gdbserver()
359 if (HasError) { in main_gdbserver()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFGdbIndex.h77 bool HasError = false; variable
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Dsroa-larger.ll23 ; F(D Err) : HasError() {
28 ; bool HasError;

123