Add a private call '__libcpp_is_constant_evaluated' which 'works' for old language...
authorMarshall Clow <mclow.lists@gmail.com>
Mon, 1 Jul 2019 23:16:46 +0000 (23:16 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Mon, 1 Jul 2019 23:16:46 +0000 (23:16 +0000)
commit491ddc00ae7041b01ab00be18dbe7c39d09f94a1
tree733b5f98d7d9472ed4288a43ea98866a641a9205
parenta7f00941efd740bc6eafc32307b9d92564785f85
Add a private call '__libcpp_is_constant_evaluated' which 'works' for old language versions and w/o any compiler support. 'Working', in this case, means that it returns false in those cases.

llvm-svn: 364873
libcxx/include/type_traits
libcxx/test/libcxx/type_traits/is_constant_evaluated.pass.cpp [new file with mode: 0644]