From 02cf882d367e561cd6c99acc1186e5cb4594fc55 Mon Sep 17 00:00:00 2001 From: laurens Date: Fri, 15 Nov 2019 09:34:50 +0100 Subject: [PATCH] Update documentation of :inline_function_patterns --- docs/CMock_Summary.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/CMock_Summary.md b/docs/CMock_Summary.md index 5432c03..79351c1 100644 --- a/docs/CMock_Summary.md +++ b/docs/CMock_Summary.md @@ -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: