mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-21 08:07:59 +00:00
Remove internal regex for inline functions and make them fully user-defined
- We set the defaults but the user is free to add his own. This will overwrite our defaults but they will be added to the documentation as reference for the user
This commit is contained in:
@@ -24,7 +24,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
||||
@config.expect :verbosity, 1
|
||||
@config.expect :treat_externs, :exclude
|
||||
@config.expect :treat_inlines, :exclude
|
||||
@config.expect :inline_function_patterns, ['static __inline__ __attribute__ ((always_inline))', 'static __inline__']
|
||||
@config.expect :inline_function_patterns, ['static __inline__ __attribute__ \(\(always_inline\)\)', 'static __inline__', '(static\s+inline|inline\s+static)\s*', '(\bstatic\b|\binline\b)\s*']
|
||||
@config.expect :array_size_type, ['int', 'size_t']
|
||||
@config.expect :array_size_name, 'size|len'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user