Files
codeql/cpp/ql/test/library-tests/attributes/nonnull/attrs.ql
2018-08-02 17:53:23 +01:00

11 lines
200 B
Plaintext

import cpp
string attributeArg(Attribute a) {
if exists(a.getAnArgument())
then result = a.getAnArgument().toString()
else result = "<none>"
}
from Attribute a
select a, attributeArg(a)