CodeQL library for C/C++
codeql/cpp-all 3.0.1-dev (changelog, source)
Search

Predicate Make::MergeTests::getARelevantTag

Returns all tags that can be generated by this test. Most tests will only ever produce a single tag. Any expected result comments for a tag that is not returned by the getARelevantTag() predicate for an active test will be ignored. This makes it possible to write multiple tests in different .ql files that all query the same source code.

Import path

import codeql.util.test.InlineExpectationsTest
string getARelevantTag()