Project

General

Profile

Actions

Feature #3494

closed

Do not match macro parameter names

Added by Evgeny Novikov over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Category:
-
Start date:
09/26/2012
Due date:
% Done:

0%

Estimated time:
Published in build:
aa51b7c

Description

I think that this is rather seldom case when somebody will want to match exactly some macro parameter names. Most likely one will need ability to reference some macro parameter by name specified. Thus:

#define A(a) ...

will be matched with the given pointcut:
define (A(arg))

but in corresponding advice one can refer to the first macro parameter as:
{
  arg + 1;
}

This feature request just serves as notification that macro parameter names won't be matched any more. The ability to refer to macro parameters is considered in #363.


Related issues 1 (1 open0 closed)

Related to C Instrumentation Framework - Feature #363: Macro and macro arguments referencesOpenEvgeny Novikov08/05/2010

Actions
Actions #1

Updated by Evgeny Novikov over 11 years ago

  • Status changed from Open to Resolved
  • Published in build set to aa51b7c

Implemented in commit aa51b7c of the master branch. Wait for small test results.

Actions #2

Updated by Evgeny Novikov over 11 years ago

  • Status changed from Resolved to Closed

Works quite fine.

Actions #3

Updated by Evgeny Novikov over 11 years ago

  • Subject changed from Do not macro parameter names to Do not match macro parameter names
Actions

Also available in: Atom PDF