File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
cpp/autosar/src/rules/A2-7-3 Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,8 @@ class DocumentableDeclaration extends Declaration {
5050 declarationType = "member variable" and
5151 // Exclude memeber variables in instantiated templates, which cannot reasonably be documented.
5252 not this .( MemberVariable ) .isFromTemplateInstantiation ( _) and
53- // Exclude anonymous lambda functions.
54- // TODO: replace with the following when support is added.
55- // not this.(MemberVariable).isCompilerGenerated()
56- not exists ( LambdaExpression lc | lc .getACapture ( ) .getField ( ) = this )
53+ // Exclude compiler generated variables, such as those for anonymous lambda functions
54+ not this .( MemberVariable ) .isCompilerGenerated ( )
5755 }
5856
5957 /** Gets a `DeclarationEntry` for this declaration that should be documented. */
You can’t perform that action at this time.
0 commit comments