Home
last modified time | relevance | path

Searched refs:hasVal (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/ADT/
DOptional.h31 bool hasVal; variable
35 Optional(NoneType) : hasVal(false) {} in Optional()
36 explicit Optional() : hasVal(false) {} in Optional()
37 Optional(const T &y) : hasVal(true) { in Optional()
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional()
41 if (hasVal) in Optional()
45 Optional(T &&y) : hasVal(true) { in Optional()
48 Optional(Optional<T> &&O) : hasVal(O) { in Optional()
55 if (hasVal)
59 hasVal = true;
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DOptional.h31 bool hasVal; variable
35 Optional(NoneType) : hasVal(false) {} in Optional()
36 explicit Optional() : hasVal(false) {} in Optional()
37 Optional(const T &y) : hasVal(true) { in Optional()
40 Optional(const Optional &O) : hasVal(O.hasVal) { in Optional()
41 if (hasVal) in Optional()
45 Optional(T &&y) : hasVal(true) { in Optional()
48 Optional(Optional<T> &&O) : hasVal(O) { in Optional()
55 if (hasVal)
59 hasVal = true;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DOptional.h41 bool hasVal; variable
46 OptionalStorage() noexcept : empty(), hasVal(false) {} in OptionalStorage()
61 : value(std::forward<Args>(args)...), hasVal(true) {} in OptionalStorage()
64 if (hasVal) { in reset()
66 hasVal = false; in reset()
70 bool hasValue() const noexcept { return hasVal; } in hasValue()
73 assert(hasVal); in getValue()
77 assert(hasVal); in getValue()
82 assert(hasVal); in getValue()
90 hasVal = true; in emplace()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DOptional.h42 bool hasVal; variable
47 constexpr OptionalStorage() noexcept : empty(), hasVal(false) {} in OptionalStorage()
62 : value(std::forward<Args>(args)...), hasVal(true) {} in OptionalStorage()
65 if (hasVal) { in reset()
67 hasVal = false; in reset()
71 constexpr bool hasValue() const noexcept { return hasVal; } in hasValue()
74 assert(hasVal); in getValue()
78 assert(hasVal); in getValue()
83 assert(hasVal); in getValue()
91 hasVal = true; in emplace()
[all …]
/external/llvm-project/llvm/utils/
DlldbDataFormatters.py106 hasVal = storage.GetChildMemberWithName('hasVal').GetValueAsUnsigned(failure)
107 if hasVal == failure:
110 if hasVal == 0: