aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/OptionalTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2022-12-20[ADT] Alias llvm::Optional to std::optionalBenjamin Kramer1-803/+0
2022-12-17Optional: Avoid value() usesFangrui Song1-2/+2
2022-12-15[ADT] Remove llvm::Optional::transformKazu Hirata1-34/+0
2022-12-11[ADT] Move MoveOnly to a header file (NFC)Kazu Hirata1-30/+1
2022-12-08[ADT] Use std::nullopt instead of llvm::None in OptionalTest.cppKazu Hirata1-7/+8
2022-12-02[llvm/unittests] Use std::nullopt instead of None (NFC)Kazu Hirata1-3/+3
2022-11-08Reland "[llvm][NFC] Use c++17 style variable type traits"Nathan James1-9/+8
2022-11-08Revert "[llvm][NFC] Use c++17 style variable type traits"Nathan James1-8/+9
2022-11-08[llvm][NFC] Use c++17 style variable type traitsNathan James1-9/+8
2022-10-26[ADT] Add deduction guide for llvm::OptionalDavid Blaikie1-0/+9
2022-08-13[ADT] Implement Optional::transformKazu Hirata1-0/+34
2022-08-12[ADT] Replace STLForwardCompat.h's C++17 equivalentsJoe Loser1-7/+7
2022-07-25[ADT] Deprecate Optional::getValueOr (NFC)Kazu Hirata1-19/+0
2022-07-13[llvm] Use value instead of getValue (NFC)Kazu Hirata1-1/+1
2022-07-12[llvm] Use has_value instead of hasValue (NFC)Kazu Hirata1-5/+5
2022-06-25Revert "Don't use Optional::hasValue (NFC)"Kazu Hirata1-6/+6
2022-06-25Don't use Optional::hasValue (NFC)Kazu Hirata1-6/+6
2022-06-18[ADT] Add has_value, value, value_or to llvm::OptionalKazu Hirata1-0/+27
2022-02-02Remove redundant LLVM_HAS_RVALUE_REFERENCE_THIS and LLVM_LVALUE_FUNCTION definesSimon Pilgrim1-4/+0
2022-01-18[ADT] Fix Optional<> with llvm::is_trivially_move_constructibleSteven Wu1-0/+11
2021-05-17[ADT] Factor out in_place_t and expose in Optional ctorScott Linder1-0/+50
2021-05-14Bump googletest to 1.8.1Benjamin Kramer1-4/+5
2021-01-16Fix llvm::Optional build breaks in MSVC using std::is_trivially_copyableJames Player1-0/+138
2021-01-14Revert "Fix llvm::Optional build breaks in MSVC using std::is_trivially_copya...Alexandre Ganea1-121/+0
2021-01-13Fix llvm::Optional build breaks in MSVC using std::is_trivially_copyableJames Player1-0/+121
2020-12-08ADT: Add hash_value overload for OptionalDuncan P. N. Exon Smith1-0/+17
2020-12-08ADT: Remove the unused explicit `OptionalTest` fixture, NFCDuncan P. N. Exon Smith1-31/+27
2020-12-02Switch from llvm::is_trivially_copyable to std::is_trivially_copyableFangrui Song1-10/+9
2020-12-02Revert "Use std::is_trivially_copyable", breaks MSVC buildReid Kleckner1-9/+10
2020-12-02Use std::is_trivially_copyableFangrui Song1-10/+9
2020-09-01[ADT] Make Optional a literal type.Varun Gandhi1-0/+13
2020-01-22Revert "Unconditionally enable lvalue function designators; NFC"Aaron Ballman1-0/+4
2020-01-22Unconditionally enable lvalue function designators; NFCAaron Ballman1-4/+0
2019-08-15Revert rL368939 "Remove LVALUE / RVALUE workarounds"Russell Gallop1-0/+4
2019-08-14Remove LVALUE / RVALUE workaroundsJF Bastien1-4/+0
2019-02-18[NFC] Make Optional<T> trivially copyable when T is trivially copyableSerge Guelton1-0/+21
2019-02-16Revert r354199: Make Optional<T> Trivially Copyable when T is trivially copya...Serge Guelton1-7/+0
2019-02-16Make Optional<T> Trivially Copyable when T is trivially copyableSerge Guelton1-0/+7
2019-02-15Speculatively revert r354051 "Recommit Optional specialization for trivially ...Hans Wennborg1-20/+0
2019-02-14Recommit Optional specialization for trivially copyable typesSerge Guelton1-0/+20
2019-02-13Revert r353962Serge Guelton1-20/+0
2019-02-13Re-commit rL353927, patch includedSerge Guelton1-0/+20
2019-02-13Revert r353927Serge Guelton1-20/+0
2019-02-13Missing headerSerge Guelton1-0/+2
2019-02-13Make llvm::Optional<T> trivially copyable when T is trivially copyableSerge Guelton1-0/+20
2019-01-21Fix compilation error with gcc 4.8Pavel Labath1-4/+4
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2019-01-18[ADT] Add streaming operators for llvm::OptionalPavel Labath1-1/+51
2018-11-16Re-apply r346985: [ADT] Drop llvm::Optional clang-specific optimization for t...Tom Stellard1-8/+0
2018-01-25[ADT] Make moving Optional not reset the Optional it moves from.Benjamin Kramer1-6/+6