Merge branch 'bugfix/cmock_strippables_patterns' into 'master'

[mocks]: fixed strippables patterns for CMock

See merge request espressif/esp-idf!14884
This commit is contained in:
Omar Chebib
2021-08-20 09:55:50 +00:00

View File

@@ -11,8 +11,10 @@
- callback - callback
:strippables: :strippables:
- '(?:__attribute__\s*\(+.*?\)+)' - '(?:__attribute__\s*\(+.*?\)+)'
- '(?:vQueueAddToRegistry\s*\(+.*?\)+)' # following functions are disabled by configQUEUE_REGISTRY_SIZE
- '(?:vQueueUnregisterQueue\s*\(+.*?\)+)' - '(?:vQueueAddToRegistry\s*\([\s\w\*_,]*\))'
- '(?:pcQueueGetName\s*\(+.*?\)+)' - '(?:vQueueUnregisterQueue\s*\([\s\w\*_,]*\))'
- '(?:vTaskSetThreadLocalStoragePointerAndDelCallback\s*\(+.*?\)+)' - '(?:pcQueueGetName\s*\([\s\w\*_,]*\))'
# following function is disabled by configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS
- '(?:vTaskSetThreadLocalStoragePointerAndDelCallback\s*\([\s\w\*_,]*\))'
- PRIVILEGED_FUNCTION - PRIVILEGED_FUNCTION