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

13 lines
316 B
Plaintext

import cpp
/*
* Plainer output for CStyleCast, that does not reference the (potentially platform
* dependent) type of the cast.
*/
class CStyleCastPlain extends CStyleCast {
override string toString() { result = "Conversion of " + getExpr().toString() }
}
from Expr e
select e, e.getValue(), e.getValueText()