aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/typeinfo.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/typeinfo.cppm')
-rw-r--r--libcxx/modules/std/typeinfo.cppm18
1 files changed, 18 insertions, 0 deletions
diff --git a/libcxx/modules/std/typeinfo.cppm b/libcxx/modules/std/typeinfo.cppm
new file mode 100644
index 000000000000..39e6257a1fd4
--- /dev/null
+++ b/libcxx/modules/std/typeinfo.cppm
@@ -0,0 +1,18 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+module;
+#include <typeinfo>
+
+export module std:typeinfo;
+export namespace std {
+ using std::bad_cast;
+ using std::bad_typeid;
+ using std::type_info;
+} // namespace std