Skip to content

Commit 84ab786

Browse files
committed
add macro description
1 parent e1a2f73 commit 84ab786

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang/include/clang/Testing/TestLanguage.def

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10+
// The TESTLANGUAGE(-C/-CXX) macros have four parameters:
11+
// the language, the standard version, the corresponding compile-flag,
12+
// and an index of the language version for each language.
13+
// The standard version is used to compare a standard version numerically,
14+
// and the index is used to impose ordering for the language versions
15+
// with respect to each language.
16+
1017
#ifndef TESTLANGUAGE
1118
#error "TESTLANGUAGE must be defined before including this file"
1219
#endif

0 commit comments

Comments
 (0)