search for: llvm_lvalue_funct

Displaying 3 results from an estimated 3 matches for "llvm_lvalue_funct".

2018 Jan 24
2
[llvm] r322838 - [ADT] Split optional to only include copy mechanics and dtor for non-trivial types.
...- const T *getPointer() const { > - assert(hasVal); > - return reinterpret_cast<const T *>(storage.buffer); > - } > T *getPointer() { > assert(hasVal); > return reinterpret_cast<T *>(storage.buffer); > } > - const T &getValue() const LLVM_LVALUE_FUNCTION { > + const T *getPointer() const { > assert(hasVal); > - return *getPointer(); > + return reinterpret_cast<const T *>(storage.buffer); > } > - T &getValue() LLVM_LVALUE_FUNCTION { > - assert(hasVal); > - return *getPointer(); > +}; >...
2018 Jan 24
0
[llvm] r322838 - [ADT] Split optional to only include copy mechanics and dtor for non-trivial types.
...{ >> - assert(hasVal); >> - return reinterpret_cast<const T *>(storage.buffer); >> - } >> T *getPointer() { >> assert(hasVal); >> return reinterpret_cast<T *>(storage.buffer); >> } >> - const T &getValue() const LLVM_LVALUE_FUNCTION { >> + const T *getPointer() const { >> assert(hasVal); >> - return *getPointer(); >> + return reinterpret_cast<const T *>(storage.buffer); >> } >> - T &getValue() LLVM_LVALUE_FUNCTION { >> - assert(hasVal); >> - ret...
2018 Jan 24
1
[llvm] r322838 - [ADT] Split optional to only include copy mechanics and dtor for non-trivial types.
...; >> - return reinterpret_cast<const T *>(storage.buffer); > >> - } > >> T *getPointer() { > >> assert(hasVal); > >> return reinterpret_cast<T *>(storage.buffer); > >> } > >> - const T &getValue() const LLVM_LVALUE_FUNCTION { > >> + const T *getPointer() const { > >> assert(hasVal); > >> - return *getPointer(); > >> + return reinterpret_cast<const T *>(storage.buffer); > >> } > >> - T &getValue() LLVM_LVALUE_FUNCTION { > >> -...