[all-commits] [llvm/llvm-project] 94948f: [ADT] Make Optional a literal type.
Varun Gandhi via All-commits
all-commits at lists.llvm.org
Tue Sep 1 16:14:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 94948f3c929e221214ba8acf419b1cddb61e042e
https://github.com/llvm/llvm-project/commit/94948f3c929e221214ba8acf419b1cddb61e042e
Author: Varun Gandhi <varun_gandhi at apple.com>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M llvm/include/llvm/ADT/Optional.h
M llvm/unittests/ADT/OptionalTest.cpp
Log Message:
-----------
[ADT] Make Optional a literal type.
This allows returning Optional values from constexpr contexts.
Reviewed By: fhahn, dblaikie, rjmccall
Differential Revision: https://reviews.llvm.org/D86354
More information about the All-commits
mailing list