Skip to content

Commit 390e61b

Browse files
committed
C++: Add public domain and translated from QL exceptions.
1 parent 1f5c6d4 commit 390e61b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cpp/ql/test/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ Features of the QL libraries in `cpp/ql/src` should also have test coverage, in
2727
The contents of `cpp/ql/test` should be original - nothing should be copied from other sources. In particular do not copy-paste C/C++ code from third party projects, your own projects, or the standard C/C++ library implementation of your compiler (regardless of the associated license). As an exception, required declarations may be taken from the following sources where necessary:
2828
- ISO/IEC Programming languages - C (all versions)
2929
- ISO/IEC Programming languages - C++ (all versions)
30-
31-
In addition, C/C++ and QL code may be copied from other queries and tests in this repository.
30+
- code from existing queries and tests in this repository
31+
- this includes 'translating QL to C++', that is, writing C/C++ declarations from the information such as parameter names and positions specified in QL classes (when there is enough information to do so).
32+
- code in the public domain
3233

3334
For example the test above for the "Memory is never freed" (`cpp/memory-never-freed`) query requires the following declarations, taken from Programming languages — C (November 2018):
3435
```

0 commit comments

Comments
 (0)