Skip to content

Commit 80a6851

Browse files
committed
Add a comment about the relationship with the corresponding libc++ test file
1 parent 934eefd commit 80a6851

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/test/Headers/system_reserved_names.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Test that headers are not tripped up by the surrounding code defining various
22
// alphabetic macros. Also ensure that we don't swallow the definition of user
33
// provided macros (in other words, ensure that we push/pop correctly everywhere).
4+
//
5+
// The contents of this header is a lightly trimmed version of
6+
// libcxx/test/libcxx/system_reserved_names.gen.py; additions to that testcase
7+
// can be synced into this header as well.
48

59
#define SYSTEM_RESERVED_NAME This name should not be used in Clang headers
610

0 commit comments

Comments
 (0)