mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-06-05 21:15:20 +00:00
Update documentation of :inline_function_patterns
This commit is contained in:
@@ -530,8 +530,6 @@ from the defaults. We've tried to specify what the defaults are below.
|
||||
- "inline static"
|
||||
- "inline"
|
||||
- "static"
|
||||
Note that the order is important here!
|
||||
We go from specific to general to avoid wrongfully parsing the header.
|
||||
You can override these patterns, check out :inline_function_patterns.
|
||||
|
||||
Enabling this feature does require a change in the build system that
|
||||
@@ -679,6 +677,10 @@ from the defaults. We've tried to specify what the defaults are below.
|
||||
The default patterns are are:
|
||||
|
||||
* default: ['(static\s+inline|inline\s+static)\s*', '(\bstatic\b|\binline\b)\s*']
|
||||
* **note:**
|
||||
The order of patterns is important here!
|
||||
We go from specific patterns ('static inline') to general patterns ('inline'),
|
||||
otherwise we would miss functions that use 'static inline' iso 'inline'.
|
||||
|
||||
|
||||
Compiled Options:
|
||||
|
||||
Reference in New Issue
Block a user