mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
CPP: Deprecate MacroInvocationExpr.
This commit is contained in:
@@ -261,8 +261,13 @@ class MacroInvocation extends MacroAccess {
|
||||
|
||||
/**
|
||||
* A top-level expression generated by a macro invocation.
|
||||
*
|
||||
* DEPRECATED: Use `MacroInvocation.getExpr()` directly to get an
|
||||
* expression generated at the top-level of a macro invocation. Use
|
||||
* `MacroInvocation.getAnAffectedElement()` to get any element generated
|
||||
* by a macro invocation.
|
||||
*/
|
||||
class MacroInvocationExpr extends Expr {
|
||||
deprecated class MacroInvocationExpr extends Expr {
|
||||
MacroInvocationExpr() {
|
||||
exists(MacroInvocation i | this = i.getExpr())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user