[libcxx-commits] [libcxx] 9226e6f - [libc++][nfc] Adds a missing generated file.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 20 23:07:17 PDT 2021
Author: Mark de Wever
Date: 2021-07-21T08:06:03+02:00
New Revision: 9226e6f7d24dba4f49f5ac08a3048b68219d62cc
URL: https://github.com/llvm/llvm-project/commit/9226e6f7d24dba4f49f5ac08a3048b68219d62cc
DIFF: https://github.com/llvm/llvm-project/commit/9226e6f7d24dba4f49f5ac08a3048b68219d62cc.diff
LOG: [libc++][nfc] Adds a missing generated file.
The file was created by libcxx/utils/generate_private_header_tests.py.
Added:
libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp
Modified:
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp
new file mode 100644
index 0000000000000..db1f3083876ea
--- /dev/null
+++ b/libcxx/test/libcxx/diagnostics/detail.headers/iterator/common_iterator.module.verify.cpp
@@ -0,0 +1,16 @@
+// -*- 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
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: modules-build
+
+// WARNING: This test was generated by 'generate_private_header_tests.py'
+// and should not be edited manually.
+
+// expected-error@*:* {{use of private header from outside its module: '__iterator/common_iterator.h'}}
+#include <__iterator/common_iterator.h>
More information about the libcxx-commits
mailing list