Home
last modified time | relevance | path

Searched refs:hasVal (Results 1 – 1 of 1) 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 …]