mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
1.2 KiB
1.2 KiB
3.1.0
Deprecated APIs
- The
TemplateParameterclass, representing C++ type template parameters has been deprecated. UseTypeTemplateParameterinstead.
New Features
- New classes
SizeofPackExprOperatorandSizeofPackTypeOperatorwere introduced, which represent the C++sizeof...operator taking expressions and type arguments, respectively. - A new class
TemplateTemplateParameterInstantiationwas introduced, which represents instantiations of template template parameters. - A new predicate
getAnInstantiationwas added to theTemplateTemplateParameterclass, which yields instantiations of template template parameters. - The
getTemplateArgumentTypeandgetTemplateArgumentValuepredicates of theDeclarationclass now also yield template arguments of template template parameters. - A new class
NonTypeTemplateParameterwas introduced, which represents C++ non-type template parameters. - A new class
TemplateParameterBasewas introduced, which represents C++ non-type template parameters, type template parameters, and template template parameters.
Minor Analysis Improvements
- The
Guardslibrary (semmle.code.cpp.controlflow.Guards) has been improved to recognize more guard conditions.