![]() |
![]() |
3429 | ![]() |
||||
![]() | |||||||
| Macro Definition | |||||||
A function-like macro is being defined. Be aware that a macro may still be classified as 'function-like' when it is defined with no parameters. For example:
/*PRQA S 553,3435,3453,3456 ++*/
#define A(X) ((X) * ((X)-1)) /* Message 3429 - function-like macro */
#define B() (x * (x -1)) /* Message 3429 - function-like macro */
#define C (x * (x -1)) /* - object-like macro */
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |