mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
CPP: Deprecate MacroInvocationStmt.
This commit is contained in:
@@ -282,8 +282,13 @@ class MacroInvocationExpr extends Expr {
|
||||
|
||||
/**
|
||||
* A top-level statement generated by a macro invocation.
|
||||
*
|
||||
* DEPRECATED: Use `MacroInvocation.getStmt()` directly to get a
|
||||
* statement generated at the top-level of a macro invocation. Use
|
||||
* `MacroInvocation.getAnAffectedElement()` to get any element generated
|
||||
* by a macro invocation.
|
||||
*/
|
||||
class MacroInvocationStmt extends Stmt {
|
||||
deprecated class MacroInvocationStmt extends Stmt {
|
||||
MacroInvocationStmt() {
|
||||
exists(MacroInvocation i | this = i.getStmt())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user