search for: llvm_lvalue_function

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

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); >> - return...
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 { > >> - a...